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/command/CommandString.java_6_4
String text = ""; public class CommandString implements RawbtCommand { final public static String TAG = "print"; // for GSON
String command = TAG;
[ "String command = TAG;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_8_11
AttributesString attributesString = null; String command = TAG; String
text = "";
[ "text = \"\";\n" ]
[ { "title": "in_file#lines#0.5", "text": " AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_9_4
public CommandString() { String text = "";
AttributesString attributesString = null;
[ "AttributesString attributesString = null;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\";", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_11_11
} AttributesString attributesString = null; public
CommandString() {
[ "CommandString() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_12_0
public CommandString(String text, AttributesString attr) { public CommandString() {
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_14_11
this.text = text; this.attributesString = attr; } public
CommandString(String text, AttributesString attr) {
[ "CommandString(String text, AttributesString attr) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_15_13
this.attributesString = attr; } public CommandString(String text, AttributesString attr) { this.
text = text;
[ "text = text;\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_16_13
} public CommandString(String text, AttributesString attr) { this.text = text; this.
attributesString = attr;
[ "attributesString = attr;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_17_0
this.text = text; this.attributesString = attr;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_21_4
return text; } // ============ get & set ==================
public String getText() {
[ "public String getText() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_22_0
} // ============ get & set ================== public String getText() {
return text;
[ " return text;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_23_0
public void setText(String text) { public String getText() { return text;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_25_31
this.text = text; } } public void setText(String
text) {
[ "text) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_26_13
} public void setText(String text) { this.
text = text;
[ "text = text;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAttributesString attributesString setAttributesString attributesString attributesString attributesString AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_27_0
public AttributesString getAttributesString() { public void setText(String text) { this.text = text;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAttributesString attributesString setAttributesString attributesString attributesString attributesString AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_29_28
return attributesString; } } public AttributesString
getAttributesString() {
[ "getAttributesString() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "attributesString setAttributesString attributesString attributesString attributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_30_6
} public AttributesString getAttributesString() {
return attributesString;
[ " return attributesString;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAttributesString attributesString attributesString attributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_31_0
public void setAttributesString(AttributesString attributesString) { public AttributesString getAttributesString() { return attributesString;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAttributesString attributesString attributesString attributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_33_36
this.attributesString = attributesString; } } public void setAttributesString(
AttributesString attributesString) {
[ "AttributesString attributesString) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.attributesString = attributesString;\n }\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.attributesString = attributesString;\n }\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.attributesString = attributesString;\n }\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "attributesString attributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesString String AttributesString String String AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_34_13
} public void setAttributesString(AttributesString attributesString) { this.
attributesString = attributesString;
[ "attributesString = attributesString;\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 command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_35_0
} public void setAttributesString(AttributesString attributesString) { this.attributesString = attributesString;
}
[ " }\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 command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandString.java_37_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 command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getText setText getAttributesString setAttributesString", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"print\" \"\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } \n[CommandString]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesString;\n\npublic class CommandString implements RawbtCommand {\n final public static String TAG = \"print\"; // for GSON\n String command = TAG;\n\n String text = \"\";\n AttributesString attributesString = null;\n\n public CommandString() {\n }\n\n public CommandString(String text, AttributesString attr) {\n this.text = text;\n this.attributesString = attr;\n }\n\n\n // ============ get & set ==================\n public String getText() {\n return text;\n }\n\n public void setText(String text) {\n this.text = text;\n }\n\n public AttributesString getAttributesString() {\n return attributesString;\n }\n\n public void setAttributesString(AttributesString attributesString) {\n this.attributesString = attributesString;\n }\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; \n[CommandString]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr \n[CommandString]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString \n[CommandString]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" [CommandDrawLine] \"line\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" \n[CommandString]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "[AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "[AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandString]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override 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[CommandString]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[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[CommandString]", "score": 0.024390243902439025 }, { "title": "import_file#field_declarations#0.5", "text": "[AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandString]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesString] \"default\" \n[CommandString]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[CommandString]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[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[CommandString]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "[AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandString]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesString] \"default\" [AttributesImage] \n[CommandString]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[CommandString]", "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/command/CommandEmulate.java_0_8
import android.os.Parcelable; package
rawbt.api.command;
[ "rawbt.api.command;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandEmulate.java_2_18
import androidx.annotation.NonNull; package rawbt.api.command; import android.os.
Parcelable;
[ "Parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandEmulate.java_4_16
import androidx.annotation.Nullable; import android.os.Parcelable; import androidx.
annotation.NonNull;
[ "annotation.NonNull;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandEmulate.java_5_27
public class CommandEmulate implements RawbtCommand{ import androidx.annotation.NonNull; import androidx.annotation.
Nullable;
[ "Nullable;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandEmulate.java_7_39
final public static String TAG = "emulate"; // for GSON String command = TAG; import androidx.annotation.Nullable; public class CommandEmulate implements
RawbtCommand{
[ "RawbtCommand{\n" ]
[ { "title": "in_file#lines#0.5", "text": " final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandEmulate.java_8_10
String command = TAG; public class CommandEmulate implements RawbtCommand{ final
public static String TAG = "emulate"; // for GSON
[ "public static String TAG = \"emulate\"; // for GSON\n" ]
[ { "title": "in_file#lines#0.5", "text": " String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_9_4
String parcelable; public class CommandEmulate implements RawbtCommand{ final public static String TAG = "emulate"; // for GSON
String command = TAG;
[ "String command = TAG;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_11_11
String mode; String command = TAG; String
parcelable;
[ "parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": " String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_12_4
public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) { String parcelable;
String mode;
[ "String mode;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_14_57
this.parcelable = parcelable.toString(); this.mode = mode; String mode; public CommandEmulate(@NonNull Parcelable parcelable,
@NonNull String mode) {
[ " @NonNull String mode) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable,", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_15_26
this.mode = mode; } public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) { this.parcelable =
parcelable.toString();
[ "parcelable.toString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_16_0
} public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) { this.parcelable = parcelable.toString();
this.mode = mode;
[ " this.mode = mode;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_17_0
// ============ get & set ============= this.parcelable = parcelable.toString(); this.mode = mode;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_21_3
public String getParcelable() { return parcelable; // ============ get & set =============
@Nullable
[ " @Nullable\n" ]
[ { "title": "in_file#lines#0.5", "text": " public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_22_2
return parcelable; } @Nullable
public String getParcelable() {
[ " public String getParcelable() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_23_8
} @Nullable public String getParcelable() {
return parcelable;
[ "return parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_24_0
public void setParcelable(@NonNull String parcelable) { public String getParcelable() { return parcelable;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_26_39
this.parcelable = parcelable; } } public void setParcelable(@NonNull
String parcelable) {
[ "String parcelable) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_27_13
} public void setParcelable(@NonNull String parcelable) { this.
parcelable = parcelable;
[ "parcelable = parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Nullable getMode mode setMode NonNull mode mode mode String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_28_0
@Nullable public void setParcelable(@NonNull String parcelable) { this.parcelable = parcelable;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Nullable getMode mode setMode NonNull mode mode mode String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_30_4
public String getMode() { return mode; }
@Nullable
[ "@Nullable\n" ]
[ { "title": "in_file#lines#0.5", "text": " public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getMode mode setMode NonNull mode mode mode String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_31_11
return mode; } @Nullable public
String getMode() {
[ "String getMode() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "mode setMode NonNull mode mode mode String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_32_6
} @Nullable public String getMode() {
return mode;
[ " return mode;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setMode NonNull mode mode mode String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_33_0
public void setMode(@NonNull String mode) { public String getMode() { return mode;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setMode NonNull mode mode mode String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_35_33
this.mode = mode; } } public void setMode(@NonNull
String mode) {
[ "String mode) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.mode = mode;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.mode = mode;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.mode = mode;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "mode mode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_36_3
} } public void setMode(@NonNull String mode) {
this.mode = mode;
[ " this.mode = mode;\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 command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_37_0
} public void setMode(@NonNull String mode) { this.mode = mode;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/CommandEmulate.java_38_0
this.mode = mode; }
}
[ "}\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 command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String Parcelable String String String String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getParcelable setParcelable getMode setMode", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"emulate\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandEmulate]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandEmulate]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport android.os.Parcelable;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\npublic class CommandEmulate implements RawbtCommand{\n final public static String TAG = \"emulate\"; // for GSON\n String command = TAG;\n\n String parcelable;\n String mode;\n\n public CommandEmulate(@NonNull Parcelable parcelable, @NonNull String mode) {\n this.parcelable = parcelable.toString();\n this.mode = mode;\n }\n\n // ============ get & set =============\n\n @Nullable\n public String getParcelable() {\n return parcelable;\n }\n\n public void setParcelable(@NonNull String parcelable) {\n this.parcelable = parcelable;\n }\n\n @Nullable\n public String getMode() {\n return mode;\n }\n\n public void setMode(@NonNull String mode) {\n this.mode = mode;\n }\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandEmulate]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandEmulate]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandEmulate]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandEmulate]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandEmulate]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandEmulate]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandEmulate]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandEmulate]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandEmulate]", "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/command/RawbtCommand.java_0_18
public interface RawbtCommand { package rawbt.api.
command;
[ "command;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic interface RawbtCommand {\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic interface RawbtCommand {\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic interface RawbtCommand {\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "RawbtCommand", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[AppCompatWithRawbtActivity] rawbt api android content ComponentName android content Context android content ServiceConnection android content pm PackageManager android os Build android os Bundle android os Handler android os IBinder android os Looper androidx activity result ActivityResultLauncher androidx activity result contract ActivityResultContracts androidx annotation NonNull androidx annotation Nullable androidx appcompat app AppCompatActivity rawbt sdk ICallback rawbt sdk IRawBtPrintService AppCompatWithRawbtActivity handler Looper getMainLooper serviceRawBT connectService Override onServiceConnected name s serviceRawBT IRawBtPrintService Stub asInterface s serviceRawBT registerCallback serviceCallback handler post handleServiceConnected e handlePrintError e getLocalizedMessage Override onServiceDisconnected name serviceRawBT handler postDelayed bindRawBT serviceCallback Override onPrintSuccess jobId finalJobId jobId handler post handlePrintSuccess finalJobId Override onPrintError jobId errMessage finalJobId jobId finalMes errMessage handler post handlePrintError finalJobId finalMes Override onPrintCancel jobId finalJobId jobId handler post handlePrintCancel finalJobId Override onProgress jobId p finalJobId jobId finalP p handler post handlePrintProgress finalJobId finalP bindRawBT allowRequestPerm bindService RawbtApiHelper createExplicitIntent connectService Context BIND_AUTO_CREATE s allowRequestPerm Build VERSION SDK_INT Build VERSION_CODES M checkSelfPermission RawbtApiHelper SERVICE_PERMISSION PackageManager PERMISSION_GRANTED mRequestPermission launch RawbtApiHelper SERVICE_PERMISSION handlePrintError getString R string rawbt_permission_not_granted e handlePrintError getString R string rawbt_connect_error mRequestPermission registerForActivityResult isGranted bindRawBT Override onCreate savedInstanceState onCreate savedInstanceState serviceRawBT bindRawBT Override onDestroy onDestroy serviceRawBT unbindService connectService printJob NonNull job serviceRawBT RawbtApiHelper isServiceInstalled handlePrintError job idJob getString R string rawb_not_installed bindRawBT handlePrintError job idJob getString R string rawbt_please_wait serviceRawBT printRawbtPrintJob job GSON s handlePrintError job idJob getString R string rawbt_permission_not_granted e handlePrintError job idJob e getLocalizedMessage handleServiceConnected handlePrintSuccess jobId handlePrintCancel jobId handlePrintError Nullable jobId message handlePrintProgress jobId p AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] rawbt api android content Context android content Intent android content pm PackageManager android os Build com google gson Gson rawbt api RawbtPrintJob ACTION_PRINT_JOB rawbt api RawbtPrintJob EXTRA_JOB RawbtApiHelper SERVICE_PERMISSION SERVICE_PACKAGE startActionPrintJob context job gson jobJson gson toJson job intent intent setAction ACTION_PRINT_JOB intent setPackage SERVICE_PACKAGE intent putExtra EXTRA_JOB jobJson Build VERSION SDK_INT Build VERSION_CODES O context startForegroundService intent context startService intent e e printStackTrace createExplicitIntent intent intent setPackage intent setAction intent isServiceInstalled context packageManager context getPackageManager packageManager getPackageInfo RawbtApiHelper SERVICE_PACKAGE e String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] rawbt api android os Parcelable androidx annotation NonNull com google gson Gson java util ArrayList rawbt api attributes AttributesBarcode rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesQRcode rawbt api attributes AttributesString rawbt api command CommandBarcode rawbt api command CommandBytesInBase64 rawbt api command CommandCut rawbt api command CommandDelimiterImages rawbt api command CommandDrawLine rawbt api command CommandEmulate rawbt api command CommandLeftRightText rawbt api command CommandNewLine rawbt api command CommandParcelable rawbt api command CommandQRcode rawbt api command CommandString rawbt api command RawbtCommand RawbtPrintJob ACTION_PRINT_JOB EXTRA_JOB idJob commands copies TEMPLATE_NONE TEMPLATE_DEFAULT TEMPLATE_SIMPLE template TEMPLATE_DEFAULT PRINTER_CURRENT PRINTER_VIRTUAL PRINTER_RAW_TRANSFER printer PRINTER_CURRENT defaultAttrString defaultAttrImage defaultAttrPdf premium getIdJob idJob setIdJob idJob idJob idJob add command commands add command getCommands commands setCommands commands commands commands getCopies copies setCopies copies copies copies getTemplate template setTemplate NonNull template template template getPrinter printer setPrinter NonNull printer printer printer getDefaultAttrString defaultAttrString defaultAttrString setDefaultAttrString NonNull defaultAttrString defaultAttrString defaultAttrString isNullDefaultAttrString defaultAttrString getDefaultAttrImage defaultAttrImage defaultAttrImage setDefaultAttrImage NonNull defaultAttrImage defaultAttrImage defaultAttrImage isNullDefaultAttrImage defaultAttrImage getDefaultAttrPdf defaultAttrPdf defaultAttrPdf setDefaultAttrPdf NonNull defaultAttrPdf defaultAttrPdf defaultAttrPdf isNullDefaultAttrPdf defaultAttrPdf println NonNull string commands add string getDefaultAttrString println NonNull string NonNull attr commands add string attr ln commands add ln n commands add n leftRightText leftText rightText commands add leftText rightText getDefaultAttrString leftRightTextWithFormat leftText rightText attr commands add leftText rightText attr leftRightTextWithBothFormat leftText rightText attrLeft attrRight commands add leftText rightText attrLeft attrRight leftIndentRightText leftIndent leftText rightText command leftText rightText getDefaultAttrString command setLeftIndent leftIndent commands add command leftIndentRightTextWithFormat leftIndent leftText rightText attr command leftText rightText attr command setLeftIndent leftIndent commands add command leftRightIndentText rightIndent leftText rightText command leftText rightText getDefaultAttrString command setRightIndent rightIndent commands add command leftRightIndentTextWithFormat rightIndent leftText rightText attr command leftText rightText attr command setRightIndent rightIndent commands add command image NonNull parcelable image parcelable getDefaultAttrImage image NonNull parcelable NonNull attributesImage command parcelable Constant RAWBT_CONTENT_TYPE image command setAttributesImage attributesImage commands add command text NonNull parcelable text parcelable getDefaultAttrString text NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE txt command setAttributesString attr commands add command bytes NonNull parcelable commands add parcelable Constant RAWBT_CONTENT_TYPE prn sendBytes NonNull base64 commands add base64 pdf NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage getDefaultAttrImage commands add command pdf NonNull parcelable NonNull attr NonNull attrImg command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage attrImg commands add command emulate NonNull parcelable NonNull mode commands add parcelable mode barcode commandBarcode commands add commandBarcode barcode data attr commands add data attr qrcode commandQRcode commands add commandQRcode qrcode data attr commands add data attr cut commands add drawLine ch commands add ch getDefaultAttrString drawLine ch attr commands add ch attr delimiterImages add isPremium premium setPremium premium premium premium GSON gson gson toJson String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] rawbt api android content Context android database Cursor android net Uri android provider MediaStore RawbtMediaTypes detectContentType context uri type0 uri Constant RAWBT_CONTENT_TYPE unsupported type getFileMimeType context uri type type0 Constant RAWBT_CONTENT_TYPE unsupported type type0 type equals Constant RAWBT_CONTENT_TYPE pdf type startsWith type startsWith type startsWith type startsWith Constant RAWBT_CONTENT_TYPE unsupported type startsWith Constant RAWBT_CONTENT_TYPE image type equals Constant RAWBT_CONTENT_TYPE html type equals Constant RAWBT_CONTENT_TYPE prn Constant RAWBT_CONTENT_TYPE txt getFileMimeType ctx uri strUrl uri toString toLowerCase equalsIgnoreCase uri getScheme ret returnCursor ctx getContentResolver query uri returnCursor mimeIndex returnCursor getColumnIndex returnCursor moveToFirst mimeIndex ret returnCursor getString mimeIndex equals ret returnCursor close ret e e printStackTrace column_index returnCursor getColumnIndexOrThrow MediaStore Images Media DISPLAY_NAME returnCursor moveToFirst strUrl returnCursor getString column_index e e printStackTrace returnCursor close strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith e e printStackTrace Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[RawbtPrintJob] [getIdJob] public String getIdJob() {\n return idJob;\n } [setIdJob] (String idJob) {\n this.idJob = idJob;\n } [add] void add(RawbtCommand command){\n commands.add(command);\n } [getCommands] List<RawbtCommand> getCommands() {\n return commands;\n } [setCommands] RawbtCommand> commands) {\n this.commands = commands;\n } [getCopies] public int getCopies() {\n return copies;\n } [setCopies] ies(int copies) {\n this.copies = copies;\n } [getTemplate] public String getTemplate() {\n return template;\n } [setTemplate] NonNull String template) {\n this.template = template;\n } [getPrinter] public String getPrinter() {\n return printer;\n } [setPrinter] Null String printer) {\n this.printer = printer;\n } [getDefaultAttrString] return defaultAttrString == null? new AttributesString():defaultAttrString;\n } [setDefaultAttrString] \n this.defaultAttrString = defaultAttrString;\n } [isNullDefaultAttrString] rString(){\n return defaultAttrString == null;\n } [getDefaultAttrImage] return defaultAttrImage == null?new AttributesImage():defaultAttrImage;\n } [setDefaultAttrImage] \n this.defaultAttrImage = defaultAttrImage;\n } [isNullDefaultAttrImage] AttrImage(){\n return defaultAttrImage == null;\n } [getDefaultAttrPdf] return defaultAttrPdf == null?new AttributesPdf():defaultAttrPdf;\n } [setDefaultAttrPdf] this.defaultAttrPdf = defaultAttrPdf;\n } [isNullDefaultAttrPdf] Pdf(){\n return defaultAttrPdf == null;\n } [println] commands.add(new CommandString(string,getDefaultAttrString()));\n } [println] \n commands.add(new CommandString(string,attr));\n } [ln] (){\n commands.add(new CommandNewLine(1));\n } [ln] ){\n commands.add(new CommandNewLine(n));\n } [leftRightText] (new CommandLeftRightText(leftText,rightText,getDefaultAttrString()));\n } [leftRightTextWithFormat] commands.add(new CommandLeftRightText(leftText,rightText,attr));\n } [leftRightTextWithBothFormat] LeftRightText(leftText,rightText,0,0,attrLeft,attrRight));\n } [leftIndentRightText] ent(leftIndent);\n commands.add(command);\n } [leftIndentRightTextWithFormat] ent(leftIndent);\n commands.add(command);\n } [leftRightIndentText] ent(rightIndent);\n commands.add(command);\n } [leftRightIndentTextWithFormat] ent(rightIndent);\n commands.add(command);\n } [image] \n image(parcelable, getDefaultAttrImage());\n } [image] Image(attributesImage);\n commands.add(command);\n } [text] \n text(parcelable,getDefaultAttrString());\n } [text] setAttributesString(attr);\n commands.add(command);\n } [bytes] celable(parcelable, Constant.RAWBT_CONTENT_TYPE.prn));\n } [sendBytes] commands.add(new CommandBytesInBase64(base64));\n } [pdf] getDefaultAttrImage());\n commands.add(command);\n } [pdf] Image(attrImg);\n commands.add(command);\n } [emulate] commands.add(new CommandEmulate(parcelable,mode));\n } [barcode] arcode){\n commands.add(commandBarcode);\n } [barcode] commands.add(new CommandBarcode(data,attr));\n } [qrcode] void qrcode(CommandQRcode commandQRcode) { commands.add(commandQRcode); } [qrcode] commands.add(new CommandQRcode(data,attr));\n } [cut] public void cut(){\n commands.add(new CommandCut());\n } [drawLine] commands.add( new CommandDrawLine(ch,getDefaultAttrString()));\n } [drawLine] commands.add( new CommandDrawLine(ch,attr));\n } [delimiterImages] Images() {\n add(new CommandDelimiterImages());\n } [isPremium] public boolean isPremium() {\n return premium;\n } [setPremium] boolean premium) {\n this.premium = premium;\n } [GSON] son();\n return gson.toJson(this);\n } [RawbtMediaTypes] [detectContentType] static public Constant.RAWBT_CONTENT_TYPE detectContentType(Context context, Uri uri, String type0){\n\n if(uri == null) return Constant.RAWBT_CONTENT_TYPE.unsupported;\n\n // сперва пробуем взять реальный тип потока\n String type = getFileMimeType(context,uri);\n if(type == null) {\n // есть уточнение что это?\n if(type0 == null){\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n type = type0;\n }\n\n if(type.equals(\"application/pdf\")){\n return Constant.RAWBT_CONTENT_TYPE.pdf;\n }\n\n if (type.startsWith(\"video\")\n || type.startsWith(\"audio\")\n || type.startsWith(\"model\")\n || type.startsWith(\"multipart\")\n ) {\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n\n if(type.startsWith(\"image\")){\n return Constant.RAWBT_CONTENT_TYPE.image;\n }\n\n if(type.equals(\"text/html\")){\n return Constant.RAWBT_CONTENT_TYPE.html;\n }\n if(type.equals(\"text/prn\")){\n return Constant.RAWBT_CONTENT_TYPE.prn;\n }\n\n return Constant.RAWBT_CONTENT_TYPE.txt;\n } [getFileMimeType] try {\n strUrl = returnCursor.getString(column_index);\n }catch (Exception e){\n e.printStackTrace();\n }\n returnCursor.close();\n }\n\n\n }\n // если в урле есть известное расширение.\n\n if (strUrl.endsWith(\".jpg\") || strUrl.endsWith(\".jpeg\") || strUrl.endsWith(\".png\") || strUrl.endsWith(\".webp\") || strUrl.endsWith(\".gif\") || strUrl.endsWith(\".bmp\")) {\n return \"image/*\";\n }\n if (strUrl.endsWith(\".pdf\")) {\n return \"application/pdf\";\n }\n if (strUrl.endsWith(\".txt\")) {\n return \"text/plain\";\n }\n if (strUrl.endsWith(\".prn\")) {\n return \"text/prn\";\n }\n if (strUrl.endsWith(\".htm\") || strUrl.endsWith(\".html\")) {\n return \"text/html\";\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n\n return null;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [AppCompatWithRawbtActivity] final protected Handler handler = new Handler(Looper.getMainLooper()); public volatile IRawBtPrintService serviceRawBT = null; private final ServiceConnection connectService = new ServiceConnection() {\n\n @Override\n public void onServiceConnected(ComponentName name, IBinder s) {\n serviceRawBT = IRawBtPrintService.Stub.asInterface(s);\n try {\n serviceRawBT.registerCallback(serviceCallback);\n handler.post(()-> handleServiceConnected());\n } catch (Exception e) {\n handlePrintError(null,e.getLocalizedMessage());\n }\n }\n\n @Override\n public void onServiceDisconnected(ComponentName name) {\n serviceRawBT = null;\n handler.postDelayed(()-> bindRawBT(false),5000);\n }\n\n }; final ICallback serviceCallback = new ICallback.Stub() {\n\n @Override\n public void onPrintSuccess(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintSuccess(finalJobId));\n }\n\n @Override\n public void onPrintError(String jobId,String errMessage) {\n final String finalJobId = jobId;\n final String finalMes = errMessage;\n handler.post(()-> handlePrintError(finalJobId,finalMes));\n }\n\n @Override\n public void onPrintCancel(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintCancel(finalJobId));\n }\n\n @Override\n public void onProgress(String jobId, float p) {\n final String finalJobId = jobId;\n final float finalP = p;\n handler.post(()-> handlePrintProgress(finalJobId,finalP));\n }\n\n\n }; private final ActivityResultLauncher<String> mRequestPermission = registerForActivityResult(new ActivityResultContracts.RequestPermission(), isGranted -> bindRawBT(false)); [RawbtApiHelper] public static final String SERVICE_PERMISSION = \"ru.a402d.rawbtprinter.PERMISSION\"; public static final String SERVICE_PACKAGE = \"ru.a402d.rawbtprinter\"; [RawbtPrintJob] public static final String ACTION_PRINT_JOB = \"rawbt.action.PRINT\"; public static final String EXTRA_JOB = \"rawbt.action.extra.JOB_JSON\"; String idJob = null; ArrayList<RawbtCommand> commands = new ArrayList<>(); int copies = 1; public final static String TEMPLATE_NONE = \"none\"; public final static String TEMPLATE_DEFAULT = \"default\"; public final static String TEMPLATE_SIMPLE = \"simple\"; String template = TEMPLATE_DEFAULT; public final static String PRINTER_CURRENT = \"current\"; public final static String PRINTER_VIRTUAL = \"virtual\"; public final static String PRINTER_RAW_TRANSFER = \"raw_transfer\"; String printer = PRINTER_CURRENT; AttributesString defaultAttrString = null; AttributesImage defaultAttrImage = null; AttributesPdf defaultAttrPdf = null; boolean premium = false; [RawbtMediaTypes] \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [AppCompatWithRawbtActivity] onServiceConnected onServiceDisconnected onPrintSuccess onPrintError onPrintCancel onProgress bindRawBT onCreate onDestroy printJob handleServiceConnected handlePrintSuccess handlePrintCancel handlePrintError handlePrintProgress [RawbtApiHelper] startActionPrintJob createExplicitIntent isServiceInstalled [RawbtPrintJob] getIdJob setIdJob add getCommands setCommands getCopies setCopies getTemplate setTemplate getPrinter setPrinter getDefaultAttrString setDefaultAttrString isNullDefaultAttrString getDefaultAttrImage setDefaultAttrImage isNullDefaultAttrImage getDefaultAttrPdf setDefaultAttrPdf isNullDefaultAttrPdf println println ln ln leftRightText leftRightTextWithFormat leftRightTextWithBothFormat leftIndentRightText leftIndentRightTextWithFormat leftRightIndentText leftRightIndentTextWithFormat image image text text bytes sendBytes pdf pdf emulate barcode barcode qrcode qrcode cut drawLine drawLine delimiterImages isPremium setPremium GSON [RawbtMediaTypes] detectContentType getFileMimeType \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AppCompatWithRawbtActivity] AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [AppCompatWithRawbtActivity] [RawbtApiHelper] \"ru.a402d.rawbtprinter.PERMISSION\" \"ru.a402d.rawbtprinter\" \"ru.a402d.rawbtprinter\" \"rawbt.action.SERVICE\" [RawbtPrintJob] \"rawbt.action.PRINT\" \"rawbt.action.extra.JOB_JSON\" \"none\" \"default\" \"simple\" \"current\" \"virtual\" \"raw_transfer\" [RawbtMediaTypes] \"application/pdf\" \"video\" \"audio\" \"model\" \"multipart\" \"image\" \"text/html\" \"text/prn\" \"content\" \"mime_type\" \"application/octet-stream\" \".jpg\" \".jpeg\" \".png\" \".webp\" \".gif\" \".bmp\" \"image/*\" \".pdf\" \"application/pdf\" \".txt\" \"text/plain\" \".prn\" \"text/prn\" \".htm\" \".html\" \"text/html\" \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": "[CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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 [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.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": "[Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [RawbtCommand] [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(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 }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[Constant] [RawbtCommand] [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandNewLine] getCount setCount [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandEmulate] getParcelable setParcelable getMode setMode [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandDelimiterImages] [CommandCut] [CommandBytesInBase64] getBase64 setBase64 [CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [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 [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [RawbtCommand] [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [CommandParcelable] \"stream\" [CommandNewLine] \"ln\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandEmulate] \"emulate\" [CommandDrawLine] \"line\" [CommandDelimiterImages] \"delimiterImages\" [CommandCut] \"cut\" [CommandBytesInBase64] \"sendBytes\" [CommandBarcode] \"barcode\" [AttributesQRcode] [AttributesBarcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[Constant] String String String String String String String String String String String String String String String String String String String String String String String [RawbtCommand] [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandNewLine] RawbtCommand String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandCut] RawbtCommand String String [CommandBytesInBase64] RawbtCommand String String String String String String [CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [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 [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/RawbtCommand.java_2_31
} package rawbt.api.command; public interface RawbtCommand {
[ "\n" ]
[ { "title": "in_file#lines#0.5", "text": "}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api command RawbtCommand", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[AppCompatWithRawbtActivity] rawbt api android content ComponentName android content Context android content ServiceConnection android content pm PackageManager android os Build android os Bundle android os Handler android os IBinder android os Looper androidx activity result ActivityResultLauncher androidx activity result contract ActivityResultContracts androidx annotation NonNull androidx annotation Nullable androidx appcompat app AppCompatActivity rawbt sdk ICallback rawbt sdk IRawBtPrintService AppCompatWithRawbtActivity handler Looper getMainLooper serviceRawBT connectService Override onServiceConnected name s serviceRawBT IRawBtPrintService Stub asInterface s serviceRawBT registerCallback serviceCallback handler post handleServiceConnected e handlePrintError e getLocalizedMessage Override onServiceDisconnected name serviceRawBT handler postDelayed bindRawBT serviceCallback Override onPrintSuccess jobId finalJobId jobId handler post handlePrintSuccess finalJobId Override onPrintError jobId errMessage finalJobId jobId finalMes errMessage handler post handlePrintError finalJobId finalMes Override onPrintCancel jobId finalJobId jobId handler post handlePrintCancel finalJobId Override onProgress jobId p finalJobId jobId finalP p handler post handlePrintProgress finalJobId finalP bindRawBT allowRequestPerm bindService RawbtApiHelper createExplicitIntent connectService Context BIND_AUTO_CREATE s allowRequestPerm Build VERSION SDK_INT Build VERSION_CODES M checkSelfPermission RawbtApiHelper SERVICE_PERMISSION PackageManager PERMISSION_GRANTED mRequestPermission launch RawbtApiHelper SERVICE_PERMISSION handlePrintError getString R string rawbt_permission_not_granted e handlePrintError getString R string rawbt_connect_error mRequestPermission registerForActivityResult isGranted bindRawBT Override onCreate savedInstanceState onCreate savedInstanceState serviceRawBT bindRawBT Override onDestroy onDestroy serviceRawBT unbindService connectService printJob NonNull job serviceRawBT RawbtApiHelper isServiceInstalled handlePrintError job idJob getString R string rawb_not_installed bindRawBT handlePrintError job idJob getString R string rawbt_please_wait serviceRawBT printRawbtPrintJob job GSON s handlePrintError job idJob getString R string rawbt_permission_not_granted e handlePrintError job idJob e getLocalizedMessage handleServiceConnected handlePrintSuccess jobId handlePrintCancel jobId handlePrintError Nullable jobId message handlePrintProgress jobId p AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] rawbt api android content Context android content Intent android content pm PackageManager android os Build com google gson Gson rawbt api RawbtPrintJob ACTION_PRINT_JOB rawbt api RawbtPrintJob EXTRA_JOB RawbtApiHelper SERVICE_PERMISSION SERVICE_PACKAGE startActionPrintJob context job gson jobJson gson toJson job intent intent setAction ACTION_PRINT_JOB intent setPackage SERVICE_PACKAGE intent putExtra EXTRA_JOB jobJson Build VERSION SDK_INT Build VERSION_CODES O context startForegroundService intent context startService intent e e printStackTrace createExplicitIntent intent intent setPackage intent setAction intent isServiceInstalled context packageManager context getPackageManager packageManager getPackageInfo RawbtApiHelper SERVICE_PACKAGE e String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] rawbt api android os Parcelable androidx annotation NonNull com google gson Gson java util ArrayList rawbt api attributes AttributesBarcode rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesQRcode rawbt api attributes AttributesString rawbt api command CommandBarcode rawbt api command CommandBytesInBase64 rawbt api command CommandCut rawbt api command CommandDelimiterImages rawbt api command CommandDrawLine rawbt api command CommandEmulate rawbt api command CommandLeftRightText rawbt api command CommandNewLine rawbt api command CommandParcelable rawbt api command CommandQRcode rawbt api command CommandString rawbt api command RawbtCommand RawbtPrintJob ACTION_PRINT_JOB EXTRA_JOB idJob commands copies TEMPLATE_NONE TEMPLATE_DEFAULT TEMPLATE_SIMPLE template TEMPLATE_DEFAULT PRINTER_CURRENT PRINTER_VIRTUAL PRINTER_RAW_TRANSFER printer PRINTER_CURRENT defaultAttrString defaultAttrImage defaultAttrPdf premium getIdJob idJob setIdJob idJob idJob idJob add command commands add command getCommands commands setCommands commands commands commands getCopies copies setCopies copies copies copies getTemplate template setTemplate NonNull template template template getPrinter printer setPrinter NonNull printer printer printer getDefaultAttrString defaultAttrString defaultAttrString setDefaultAttrString NonNull defaultAttrString defaultAttrString defaultAttrString isNullDefaultAttrString defaultAttrString getDefaultAttrImage defaultAttrImage defaultAttrImage setDefaultAttrImage NonNull defaultAttrImage defaultAttrImage defaultAttrImage isNullDefaultAttrImage defaultAttrImage getDefaultAttrPdf defaultAttrPdf defaultAttrPdf setDefaultAttrPdf NonNull defaultAttrPdf defaultAttrPdf defaultAttrPdf isNullDefaultAttrPdf defaultAttrPdf println NonNull string commands add string getDefaultAttrString println NonNull string NonNull attr commands add string attr ln commands add ln n commands add n leftRightText leftText rightText commands add leftText rightText getDefaultAttrString leftRightTextWithFormat leftText rightText attr commands add leftText rightText attr leftRightTextWithBothFormat leftText rightText attrLeft attrRight commands add leftText rightText attrLeft attrRight leftIndentRightText leftIndent leftText rightText command leftText rightText getDefaultAttrString command setLeftIndent leftIndent commands add command leftIndentRightTextWithFormat leftIndent leftText rightText attr command leftText rightText attr command setLeftIndent leftIndent commands add command leftRightIndentText rightIndent leftText rightText command leftText rightText getDefaultAttrString command setRightIndent rightIndent commands add command leftRightIndentTextWithFormat rightIndent leftText rightText attr command leftText rightText attr command setRightIndent rightIndent commands add command image NonNull parcelable image parcelable getDefaultAttrImage image NonNull parcelable NonNull attributesImage command parcelable Constant RAWBT_CONTENT_TYPE image command setAttributesImage attributesImage commands add command text NonNull parcelable text parcelable getDefaultAttrString text NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE txt command setAttributesString attr commands add command bytes NonNull parcelable commands add parcelable Constant RAWBT_CONTENT_TYPE prn sendBytes NonNull base64 commands add base64 pdf NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage getDefaultAttrImage commands add command pdf NonNull parcelable NonNull attr NonNull attrImg command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage attrImg commands add command emulate NonNull parcelable NonNull mode commands add parcelable mode barcode commandBarcode commands add commandBarcode barcode data attr commands add data attr qrcode commandQRcode commands add commandQRcode qrcode data attr commands add data attr cut commands add drawLine ch commands add ch getDefaultAttrString drawLine ch attr commands add ch attr delimiterImages add isPremium premium setPremium premium premium premium GSON gson gson toJson String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] rawbt api android content Context android database Cursor android net Uri android provider MediaStore RawbtMediaTypes detectContentType context uri type0 uri Constant RAWBT_CONTENT_TYPE unsupported type getFileMimeType context uri type type0 Constant RAWBT_CONTENT_TYPE unsupported type type0 type equals Constant RAWBT_CONTENT_TYPE pdf type startsWith type startsWith type startsWith type startsWith Constant RAWBT_CONTENT_TYPE unsupported type startsWith Constant RAWBT_CONTENT_TYPE image type equals Constant RAWBT_CONTENT_TYPE html type equals Constant RAWBT_CONTENT_TYPE prn Constant RAWBT_CONTENT_TYPE txt getFileMimeType ctx uri strUrl uri toString toLowerCase equalsIgnoreCase uri getScheme ret returnCursor ctx getContentResolver query uri returnCursor mimeIndex returnCursor getColumnIndex returnCursor moveToFirst mimeIndex ret returnCursor getString mimeIndex equals ret returnCursor close ret e e printStackTrace column_index returnCursor getColumnIndexOrThrow MediaStore Images Media DISPLAY_NAME returnCursor moveToFirst strUrl returnCursor getString column_index e e printStackTrace returnCursor close strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith e e printStackTrace Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[RawbtPrintJob] [getIdJob] public String getIdJob() {\n return idJob;\n } [setIdJob] (String idJob) {\n this.idJob = idJob;\n } [add] void add(RawbtCommand command){\n commands.add(command);\n } [getCommands] List<RawbtCommand> getCommands() {\n return commands;\n } [setCommands] RawbtCommand> commands) {\n this.commands = commands;\n } [getCopies] public int getCopies() {\n return copies;\n } [setCopies] ies(int copies) {\n this.copies = copies;\n } [getTemplate] public String getTemplate() {\n return template;\n } [setTemplate] NonNull String template) {\n this.template = template;\n } [getPrinter] public String getPrinter() {\n return printer;\n } [setPrinter] Null String printer) {\n this.printer = printer;\n } [getDefaultAttrString] return defaultAttrString == null? new AttributesString():defaultAttrString;\n } [setDefaultAttrString] \n this.defaultAttrString = defaultAttrString;\n } [isNullDefaultAttrString] rString(){\n return defaultAttrString == null;\n } [getDefaultAttrImage] return defaultAttrImage == null?new AttributesImage():defaultAttrImage;\n } [setDefaultAttrImage] \n this.defaultAttrImage = defaultAttrImage;\n } [isNullDefaultAttrImage] AttrImage(){\n return defaultAttrImage == null;\n } [getDefaultAttrPdf] return defaultAttrPdf == null?new AttributesPdf():defaultAttrPdf;\n } [setDefaultAttrPdf] this.defaultAttrPdf = defaultAttrPdf;\n } [isNullDefaultAttrPdf] Pdf(){\n return defaultAttrPdf == null;\n } [println] commands.add(new CommandString(string,getDefaultAttrString()));\n } [println] \n commands.add(new CommandString(string,attr));\n } [ln] (){\n commands.add(new CommandNewLine(1));\n } [ln] ){\n commands.add(new CommandNewLine(n));\n } [leftRightText] (new CommandLeftRightText(leftText,rightText,getDefaultAttrString()));\n } [leftRightTextWithFormat] commands.add(new CommandLeftRightText(leftText,rightText,attr));\n } [leftRightTextWithBothFormat] LeftRightText(leftText,rightText,0,0,attrLeft,attrRight));\n } [leftIndentRightText] ent(leftIndent);\n commands.add(command);\n } [leftIndentRightTextWithFormat] ent(leftIndent);\n commands.add(command);\n } [leftRightIndentText] ent(rightIndent);\n commands.add(command);\n } [leftRightIndentTextWithFormat] ent(rightIndent);\n commands.add(command);\n } [image] \n image(parcelable, getDefaultAttrImage());\n } [image] Image(attributesImage);\n commands.add(command);\n } [text] \n text(parcelable,getDefaultAttrString());\n } [text] setAttributesString(attr);\n commands.add(command);\n } [bytes] celable(parcelable, Constant.RAWBT_CONTENT_TYPE.prn));\n } [sendBytes] commands.add(new CommandBytesInBase64(base64));\n } [pdf] getDefaultAttrImage());\n commands.add(command);\n } [pdf] Image(attrImg);\n commands.add(command);\n } [emulate] commands.add(new CommandEmulate(parcelable,mode));\n } [barcode] arcode){\n commands.add(commandBarcode);\n } [barcode] commands.add(new CommandBarcode(data,attr));\n } [qrcode] void qrcode(CommandQRcode commandQRcode) { commands.add(commandQRcode); } [qrcode] commands.add(new CommandQRcode(data,attr));\n } [cut] public void cut(){\n commands.add(new CommandCut());\n } [drawLine] commands.add( new CommandDrawLine(ch,getDefaultAttrString()));\n } [drawLine] commands.add( new CommandDrawLine(ch,attr));\n } [delimiterImages] Images() {\n add(new CommandDelimiterImages());\n } [isPremium] public boolean isPremium() {\n return premium;\n } [setPremium] boolean premium) {\n this.premium = premium;\n } [GSON] son();\n return gson.toJson(this);\n } [RawbtMediaTypes] [detectContentType] static public Constant.RAWBT_CONTENT_TYPE detectContentType(Context context, Uri uri, String type0){\n\n if(uri == null) return Constant.RAWBT_CONTENT_TYPE.unsupported;\n\n // сперва пробуем взять реальный тип потока\n String type = getFileMimeType(context,uri);\n if(type == null) {\n // есть уточнение что это?\n if(type0 == null){\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n type = type0;\n }\n\n if(type.equals(\"application/pdf\")){\n return Constant.RAWBT_CONTENT_TYPE.pdf;\n }\n\n if (type.startsWith(\"video\")\n || type.startsWith(\"audio\")\n || type.startsWith(\"model\")\n || type.startsWith(\"multipart\")\n ) {\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n\n if(type.startsWith(\"image\")){\n return Constant.RAWBT_CONTENT_TYPE.image;\n }\n\n if(type.equals(\"text/html\")){\n return Constant.RAWBT_CONTENT_TYPE.html;\n }\n if(type.equals(\"text/prn\")){\n return Constant.RAWBT_CONTENT_TYPE.prn;\n }\n\n return Constant.RAWBT_CONTENT_TYPE.txt;\n } [getFileMimeType] try {\n strUrl = returnCursor.getString(column_index);\n }catch (Exception e){\n e.printStackTrace();\n }\n returnCursor.close();\n }\n\n\n }\n // если в урле есть известное расширение.\n\n if (strUrl.endsWith(\".jpg\") || strUrl.endsWith(\".jpeg\") || strUrl.endsWith(\".png\") || strUrl.endsWith(\".webp\") || strUrl.endsWith(\".gif\") || strUrl.endsWith(\".bmp\")) {\n return \"image/*\";\n }\n if (strUrl.endsWith(\".pdf\")) {\n return \"application/pdf\";\n }\n if (strUrl.endsWith(\".txt\")) {\n return \"text/plain\";\n }\n if (strUrl.endsWith(\".prn\")) {\n return \"text/prn\";\n }\n if (strUrl.endsWith(\".htm\") || strUrl.endsWith(\".html\")) {\n return \"text/html\";\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n\n return null;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic interface RawbtCommand {", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [AppCompatWithRawbtActivity] final protected Handler handler = new Handler(Looper.getMainLooper()); public volatile IRawBtPrintService serviceRawBT = null; private final ServiceConnection connectService = new ServiceConnection() {\n\n @Override\n public void onServiceConnected(ComponentName name, IBinder s) {\n serviceRawBT = IRawBtPrintService.Stub.asInterface(s);\n try {\n serviceRawBT.registerCallback(serviceCallback);\n handler.post(()-> handleServiceConnected());\n } catch (Exception e) {\n handlePrintError(null,e.getLocalizedMessage());\n }\n }\n\n @Override\n public void onServiceDisconnected(ComponentName name) {\n serviceRawBT = null;\n handler.postDelayed(()-> bindRawBT(false),5000);\n }\n\n }; final ICallback serviceCallback = new ICallback.Stub() {\n\n @Override\n public void onPrintSuccess(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintSuccess(finalJobId));\n }\n\n @Override\n public void onPrintError(String jobId,String errMessage) {\n final String finalJobId = jobId;\n final String finalMes = errMessage;\n handler.post(()-> handlePrintError(finalJobId,finalMes));\n }\n\n @Override\n public void onPrintCancel(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintCancel(finalJobId));\n }\n\n @Override\n public void onProgress(String jobId, float p) {\n final String finalJobId = jobId;\n final float finalP = p;\n handler.post(()-> handlePrintProgress(finalJobId,finalP));\n }\n\n\n }; private final ActivityResultLauncher<String> mRequestPermission = registerForActivityResult(new ActivityResultContracts.RequestPermission(), isGranted -> bindRawBT(false)); [RawbtApiHelper] public static final String SERVICE_PERMISSION = \"ru.a402d.rawbtprinter.PERMISSION\"; public static final String SERVICE_PACKAGE = \"ru.a402d.rawbtprinter\"; [RawbtPrintJob] public static final String ACTION_PRINT_JOB = \"rawbt.action.PRINT\"; public static final String EXTRA_JOB = \"rawbt.action.extra.JOB_JSON\"; String idJob = null; ArrayList<RawbtCommand> commands = new ArrayList<>(); int copies = 1; public final static String TEMPLATE_NONE = \"none\"; public final static String TEMPLATE_DEFAULT = \"default\"; public final static String TEMPLATE_SIMPLE = \"simple\"; String template = TEMPLATE_DEFAULT; public final static String PRINTER_CURRENT = \"current\"; public final static String PRINTER_VIRTUAL = \"virtual\"; public final static String PRINTER_RAW_TRANSFER = \"raw_transfer\"; String printer = PRINTER_CURRENT; AttributesString defaultAttrString = null; AttributesImage defaultAttrImage = null; AttributesPdf defaultAttrPdf = null; boolean premium = false; [RawbtMediaTypes] \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [AppCompatWithRawbtActivity] onServiceConnected onServiceDisconnected onPrintSuccess onPrintError onPrintCancel onProgress bindRawBT onCreate onDestroy printJob handleServiceConnected handlePrintSuccess handlePrintCancel handlePrintError handlePrintProgress [RawbtApiHelper] startActionPrintJob createExplicitIntent isServiceInstalled [RawbtPrintJob] getIdJob setIdJob add getCommands setCommands getCopies setCopies getTemplate setTemplate getPrinter setPrinter getDefaultAttrString setDefaultAttrString isNullDefaultAttrString getDefaultAttrImage setDefaultAttrImage isNullDefaultAttrImage getDefaultAttrPdf setDefaultAttrPdf isNullDefaultAttrPdf println println ln ln leftRightText leftRightTextWithFormat leftRightTextWithBothFormat leftIndentRightText leftIndentRightTextWithFormat leftRightIndentText leftRightIndentTextWithFormat image image text text bytes sendBytes pdf pdf emulate barcode barcode qrcode qrcode cut drawLine drawLine delimiterImages isPremium setPremium GSON [RawbtMediaTypes] detectContentType getFileMimeType \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AppCompatWithRawbtActivity] AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [AppCompatWithRawbtActivity] [RawbtApiHelper] \"ru.a402d.rawbtprinter.PERMISSION\" \"ru.a402d.rawbtprinter\" \"ru.a402d.rawbtprinter\" \"rawbt.action.SERVICE\" [RawbtPrintJob] \"rawbt.action.PRINT\" \"rawbt.action.extra.JOB_JSON\" \"none\" \"default\" \"simple\" \"current\" \"virtual\" \"raw_transfer\" [RawbtMediaTypes] \"application/pdf\" \"video\" \"audio\" \"model\" \"multipart\" \"image\" \"text/html\" \"text/prn\" \"content\" \"mime_type\" \"application/octet-stream\" \".jpg\" \".jpeg\" \".png\" \".webp\" \".gif\" \".bmp\" \"image/*\" \".pdf\" \"application/pdf\" \".txt\" \"text/plain\" \".prn\" \"text/prn\" \".htm\" \".html\" \"text/html\" \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": "[CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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 [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.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": "[Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [RawbtCommand] [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(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 }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[Constant] [RawbtCommand] [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandNewLine] getCount setCount [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandEmulate] getParcelable setParcelable getMode setMode [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandDelimiterImages] [CommandCut] [CommandBytesInBase64] getBase64 setBase64 [CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [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 [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [RawbtCommand] [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [CommandParcelable] \"stream\" [CommandNewLine] \"ln\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandEmulate] \"emulate\" [CommandDrawLine] \"line\" [CommandDelimiterImages] \"delimiterImages\" [CommandCut] \"cut\" [CommandBytesInBase64] \"sendBytes\" [CommandBarcode] \"barcode\" [AttributesQRcode] [AttributesBarcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[Constant] String String String String String String String String String String String String String String String String String String String String String String String [RawbtCommand] [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandNewLine] RawbtCommand String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandCut] RawbtCommand String String [CommandBytesInBase64] RawbtCommand String String String String String String [CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [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 [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/RawbtCommand.java_3_0
public interface RawbtCommand {
}
[ "}\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 command RawbtCommand", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[AppCompatWithRawbtActivity] rawbt api android content ComponentName android content Context android content ServiceConnection android content pm PackageManager android os Build android os Bundle android os Handler android os IBinder android os Looper androidx activity result ActivityResultLauncher androidx activity result contract ActivityResultContracts androidx annotation NonNull androidx annotation Nullable androidx appcompat app AppCompatActivity rawbt sdk ICallback rawbt sdk IRawBtPrintService AppCompatWithRawbtActivity handler Looper getMainLooper serviceRawBT connectService Override onServiceConnected name s serviceRawBT IRawBtPrintService Stub asInterface s serviceRawBT registerCallback serviceCallback handler post handleServiceConnected e handlePrintError e getLocalizedMessage Override onServiceDisconnected name serviceRawBT handler postDelayed bindRawBT serviceCallback Override onPrintSuccess jobId finalJobId jobId handler post handlePrintSuccess finalJobId Override onPrintError jobId errMessage finalJobId jobId finalMes errMessage handler post handlePrintError finalJobId finalMes Override onPrintCancel jobId finalJobId jobId handler post handlePrintCancel finalJobId Override onProgress jobId p finalJobId jobId finalP p handler post handlePrintProgress finalJobId finalP bindRawBT allowRequestPerm bindService RawbtApiHelper createExplicitIntent connectService Context BIND_AUTO_CREATE s allowRequestPerm Build VERSION SDK_INT Build VERSION_CODES M checkSelfPermission RawbtApiHelper SERVICE_PERMISSION PackageManager PERMISSION_GRANTED mRequestPermission launch RawbtApiHelper SERVICE_PERMISSION handlePrintError getString R string rawbt_permission_not_granted e handlePrintError getString R string rawbt_connect_error mRequestPermission registerForActivityResult isGranted bindRawBT Override onCreate savedInstanceState onCreate savedInstanceState serviceRawBT bindRawBT Override onDestroy onDestroy serviceRawBT unbindService connectService printJob NonNull job serviceRawBT RawbtApiHelper isServiceInstalled handlePrintError job idJob getString R string rawb_not_installed bindRawBT handlePrintError job idJob getString R string rawbt_please_wait serviceRawBT printRawbtPrintJob job GSON s handlePrintError job idJob getString R string rawbt_permission_not_granted e handlePrintError job idJob e getLocalizedMessage handleServiceConnected handlePrintSuccess jobId handlePrintCancel jobId handlePrintError Nullable jobId message handlePrintProgress jobId p AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] rawbt api android content Context android content Intent android content pm PackageManager android os Build com google gson Gson rawbt api RawbtPrintJob ACTION_PRINT_JOB rawbt api RawbtPrintJob EXTRA_JOB RawbtApiHelper SERVICE_PERMISSION SERVICE_PACKAGE startActionPrintJob context job gson jobJson gson toJson job intent intent setAction ACTION_PRINT_JOB intent setPackage SERVICE_PACKAGE intent putExtra EXTRA_JOB jobJson Build VERSION SDK_INT Build VERSION_CODES O context startForegroundService intent context startService intent e e printStackTrace createExplicitIntent intent intent setPackage intent setAction intent isServiceInstalled context packageManager context getPackageManager packageManager getPackageInfo RawbtApiHelper SERVICE_PACKAGE e String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] rawbt api android os Parcelable androidx annotation NonNull com google gson Gson java util ArrayList rawbt api attributes AttributesBarcode rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesQRcode rawbt api attributes AttributesString rawbt api command CommandBarcode rawbt api command CommandBytesInBase64 rawbt api command CommandCut rawbt api command CommandDelimiterImages rawbt api command CommandDrawLine rawbt api command CommandEmulate rawbt api command CommandLeftRightText rawbt api command CommandNewLine rawbt api command CommandParcelable rawbt api command CommandQRcode rawbt api command CommandString rawbt api command RawbtCommand RawbtPrintJob ACTION_PRINT_JOB EXTRA_JOB idJob commands copies TEMPLATE_NONE TEMPLATE_DEFAULT TEMPLATE_SIMPLE template TEMPLATE_DEFAULT PRINTER_CURRENT PRINTER_VIRTUAL PRINTER_RAW_TRANSFER printer PRINTER_CURRENT defaultAttrString defaultAttrImage defaultAttrPdf premium getIdJob idJob setIdJob idJob idJob idJob add command commands add command getCommands commands setCommands commands commands commands getCopies copies setCopies copies copies copies getTemplate template setTemplate NonNull template template template getPrinter printer setPrinter NonNull printer printer printer getDefaultAttrString defaultAttrString defaultAttrString setDefaultAttrString NonNull defaultAttrString defaultAttrString defaultAttrString isNullDefaultAttrString defaultAttrString getDefaultAttrImage defaultAttrImage defaultAttrImage setDefaultAttrImage NonNull defaultAttrImage defaultAttrImage defaultAttrImage isNullDefaultAttrImage defaultAttrImage getDefaultAttrPdf defaultAttrPdf defaultAttrPdf setDefaultAttrPdf NonNull defaultAttrPdf defaultAttrPdf defaultAttrPdf isNullDefaultAttrPdf defaultAttrPdf println NonNull string commands add string getDefaultAttrString println NonNull string NonNull attr commands add string attr ln commands add ln n commands add n leftRightText leftText rightText commands add leftText rightText getDefaultAttrString leftRightTextWithFormat leftText rightText attr commands add leftText rightText attr leftRightTextWithBothFormat leftText rightText attrLeft attrRight commands add leftText rightText attrLeft attrRight leftIndentRightText leftIndent leftText rightText command leftText rightText getDefaultAttrString command setLeftIndent leftIndent commands add command leftIndentRightTextWithFormat leftIndent leftText rightText attr command leftText rightText attr command setLeftIndent leftIndent commands add command leftRightIndentText rightIndent leftText rightText command leftText rightText getDefaultAttrString command setRightIndent rightIndent commands add command leftRightIndentTextWithFormat rightIndent leftText rightText attr command leftText rightText attr command setRightIndent rightIndent commands add command image NonNull parcelable image parcelable getDefaultAttrImage image NonNull parcelable NonNull attributesImage command parcelable Constant RAWBT_CONTENT_TYPE image command setAttributesImage attributesImage commands add command text NonNull parcelable text parcelable getDefaultAttrString text NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE txt command setAttributesString attr commands add command bytes NonNull parcelable commands add parcelable Constant RAWBT_CONTENT_TYPE prn sendBytes NonNull base64 commands add base64 pdf NonNull parcelable NonNull attr command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage getDefaultAttrImage commands add command pdf NonNull parcelable NonNull attr NonNull attrImg command parcelable Constant RAWBT_CONTENT_TYPE pdf command setAttributesPdf attr command setAttributesImage attrImg commands add command emulate NonNull parcelable NonNull mode commands add parcelable mode barcode commandBarcode commands add commandBarcode barcode data attr commands add data attr qrcode commandQRcode commands add commandQRcode qrcode data attr commands add data attr cut commands add drawLine ch commands add ch getDefaultAttrString drawLine ch attr commands add ch attr delimiterImages add isPremium premium setPremium premium premium premium GSON gson gson toJson String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] rawbt api android content Context android database Cursor android net Uri android provider MediaStore RawbtMediaTypes detectContentType context uri type0 uri Constant RAWBT_CONTENT_TYPE unsupported type getFileMimeType context uri type type0 Constant RAWBT_CONTENT_TYPE unsupported type type0 type equals Constant RAWBT_CONTENT_TYPE pdf type startsWith type startsWith type startsWith type startsWith Constant RAWBT_CONTENT_TYPE unsupported type startsWith Constant RAWBT_CONTENT_TYPE image type equals Constant RAWBT_CONTENT_TYPE html type equals Constant RAWBT_CONTENT_TYPE prn Constant RAWBT_CONTENT_TYPE txt getFileMimeType ctx uri strUrl uri toString toLowerCase equalsIgnoreCase uri getScheme ret returnCursor ctx getContentResolver query uri returnCursor mimeIndex returnCursor getColumnIndex returnCursor moveToFirst mimeIndex ret returnCursor getString mimeIndex equals ret returnCursor close ret e e printStackTrace column_index returnCursor getColumnIndexOrThrow MediaStore Images Media DISPLAY_NAME returnCursor moveToFirst strUrl returnCursor getString column_index e e printStackTrace returnCursor close strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith strUrl endsWith e e printStackTrace Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[RawbtPrintJob] [getIdJob] public String getIdJob() {\n return idJob;\n } [setIdJob] (String idJob) {\n this.idJob = idJob;\n } [add] void add(RawbtCommand command){\n commands.add(command);\n } [getCommands] List<RawbtCommand> getCommands() {\n return commands;\n } [setCommands] RawbtCommand> commands) {\n this.commands = commands;\n } [getCopies] public int getCopies() {\n return copies;\n } [setCopies] ies(int copies) {\n this.copies = copies;\n } [getTemplate] public String getTemplate() {\n return template;\n } [setTemplate] NonNull String template) {\n this.template = template;\n } [getPrinter] public String getPrinter() {\n return printer;\n } [setPrinter] Null String printer) {\n this.printer = printer;\n } [getDefaultAttrString] return defaultAttrString == null? new AttributesString():defaultAttrString;\n } [setDefaultAttrString] \n this.defaultAttrString = defaultAttrString;\n } [isNullDefaultAttrString] rString(){\n return defaultAttrString == null;\n } [getDefaultAttrImage] return defaultAttrImage == null?new AttributesImage():defaultAttrImage;\n } [setDefaultAttrImage] \n this.defaultAttrImage = defaultAttrImage;\n } [isNullDefaultAttrImage] AttrImage(){\n return defaultAttrImage == null;\n } [getDefaultAttrPdf] return defaultAttrPdf == null?new AttributesPdf():defaultAttrPdf;\n } [setDefaultAttrPdf] this.defaultAttrPdf = defaultAttrPdf;\n } [isNullDefaultAttrPdf] Pdf(){\n return defaultAttrPdf == null;\n } [println] commands.add(new CommandString(string,getDefaultAttrString()));\n } [println] \n commands.add(new CommandString(string,attr));\n } [ln] (){\n commands.add(new CommandNewLine(1));\n } [ln] ){\n commands.add(new CommandNewLine(n));\n } [leftRightText] (new CommandLeftRightText(leftText,rightText,getDefaultAttrString()));\n } [leftRightTextWithFormat] commands.add(new CommandLeftRightText(leftText,rightText,attr));\n } [leftRightTextWithBothFormat] LeftRightText(leftText,rightText,0,0,attrLeft,attrRight));\n } [leftIndentRightText] ent(leftIndent);\n commands.add(command);\n } [leftIndentRightTextWithFormat] ent(leftIndent);\n commands.add(command);\n } [leftRightIndentText] ent(rightIndent);\n commands.add(command);\n } [leftRightIndentTextWithFormat] ent(rightIndent);\n commands.add(command);\n } [image] \n image(parcelable, getDefaultAttrImage());\n } [image] Image(attributesImage);\n commands.add(command);\n } [text] \n text(parcelable,getDefaultAttrString());\n } [text] setAttributesString(attr);\n commands.add(command);\n } [bytes] celable(parcelable, Constant.RAWBT_CONTENT_TYPE.prn));\n } [sendBytes] commands.add(new CommandBytesInBase64(base64));\n } [pdf] getDefaultAttrImage());\n commands.add(command);\n } [pdf] Image(attrImg);\n commands.add(command);\n } [emulate] commands.add(new CommandEmulate(parcelable,mode));\n } [barcode] arcode){\n commands.add(commandBarcode);\n } [barcode] commands.add(new CommandBarcode(data,attr));\n } [qrcode] void qrcode(CommandQRcode commandQRcode) { commands.add(commandQRcode); } [qrcode] commands.add(new CommandQRcode(data,attr));\n } [cut] public void cut(){\n commands.add(new CommandCut());\n } [drawLine] commands.add( new CommandDrawLine(ch,getDefaultAttrString()));\n } [drawLine] commands.add( new CommandDrawLine(ch,attr));\n } [delimiterImages] Images() {\n add(new CommandDelimiterImages());\n } [isPremium] public boolean isPremium() {\n return premium;\n } [setPremium] boolean premium) {\n this.premium = premium;\n } [GSON] son();\n return gson.toJson(this);\n } [RawbtMediaTypes] [detectContentType] static public Constant.RAWBT_CONTENT_TYPE detectContentType(Context context, Uri uri, String type0){\n\n if(uri == null) return Constant.RAWBT_CONTENT_TYPE.unsupported;\n\n // сперва пробуем взять реальный тип потока\n String type = getFileMimeType(context,uri);\n if(type == null) {\n // есть уточнение что это?\n if(type0 == null){\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n type = type0;\n }\n\n if(type.equals(\"application/pdf\")){\n return Constant.RAWBT_CONTENT_TYPE.pdf;\n }\n\n if (type.startsWith(\"video\")\n || type.startsWith(\"audio\")\n || type.startsWith(\"model\")\n || type.startsWith(\"multipart\")\n ) {\n return Constant.RAWBT_CONTENT_TYPE.unsupported;\n }\n\n if(type.startsWith(\"image\")){\n return Constant.RAWBT_CONTENT_TYPE.image;\n }\n\n if(type.equals(\"text/html\")){\n return Constant.RAWBT_CONTENT_TYPE.html;\n }\n if(type.equals(\"text/prn\")){\n return Constant.RAWBT_CONTENT_TYPE.prn;\n }\n\n return Constant.RAWBT_CONTENT_TYPE.txt;\n } [getFileMimeType] try {\n strUrl = returnCursor.getString(column_index);\n }catch (Exception e){\n e.printStackTrace();\n }\n returnCursor.close();\n }\n\n\n }\n // если в урле есть известное расширение.\n\n if (strUrl.endsWith(\".jpg\") || strUrl.endsWith(\".jpeg\") || strUrl.endsWith(\".png\") || strUrl.endsWith(\".webp\") || strUrl.endsWith(\".gif\") || strUrl.endsWith(\".bmp\")) {\n return \"image/*\";\n }\n if (strUrl.endsWith(\".pdf\")) {\n return \"application/pdf\";\n }\n if (strUrl.endsWith(\".txt\")) {\n return \"text/plain\";\n }\n if (strUrl.endsWith(\".prn\")) {\n return \"text/prn\";\n }\n if (strUrl.endsWith(\".htm\") || strUrl.endsWith(\".html\")) {\n return \"text/html\";\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n\n return null;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic interface RawbtCommand {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [AppCompatWithRawbtActivity] final protected Handler handler = new Handler(Looper.getMainLooper()); public volatile IRawBtPrintService serviceRawBT = null; private final ServiceConnection connectService = new ServiceConnection() {\n\n @Override\n public void onServiceConnected(ComponentName name, IBinder s) {\n serviceRawBT = IRawBtPrintService.Stub.asInterface(s);\n try {\n serviceRawBT.registerCallback(serviceCallback);\n handler.post(()-> handleServiceConnected());\n } catch (Exception e) {\n handlePrintError(null,e.getLocalizedMessage());\n }\n }\n\n @Override\n public void onServiceDisconnected(ComponentName name) {\n serviceRawBT = null;\n handler.postDelayed(()-> bindRawBT(false),5000);\n }\n\n }; final ICallback serviceCallback = new ICallback.Stub() {\n\n @Override\n public void onPrintSuccess(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintSuccess(finalJobId));\n }\n\n @Override\n public void onPrintError(String jobId,String errMessage) {\n final String finalJobId = jobId;\n final String finalMes = errMessage;\n handler.post(()-> handlePrintError(finalJobId,finalMes));\n }\n\n @Override\n public void onPrintCancel(String jobId) {\n final String finalJobId = jobId;\n handler.post(()-> handlePrintCancel(finalJobId));\n }\n\n @Override\n public void onProgress(String jobId, float p) {\n final String finalJobId = jobId;\n final float finalP = p;\n handler.post(()-> handlePrintProgress(finalJobId,finalP));\n }\n\n\n }; private final ActivityResultLauncher<String> mRequestPermission = registerForActivityResult(new ActivityResultContracts.RequestPermission(), isGranted -> bindRawBT(false)); [RawbtApiHelper] public static final String SERVICE_PERMISSION = \"ru.a402d.rawbtprinter.PERMISSION\"; public static final String SERVICE_PACKAGE = \"ru.a402d.rawbtprinter\"; [RawbtPrintJob] public static final String ACTION_PRINT_JOB = \"rawbt.action.PRINT\"; public static final String EXTRA_JOB = \"rawbt.action.extra.JOB_JSON\"; String idJob = null; ArrayList<RawbtCommand> commands = new ArrayList<>(); int copies = 1; public final static String TEMPLATE_NONE = \"none\"; public final static String TEMPLATE_DEFAULT = \"default\"; public final static String TEMPLATE_SIMPLE = \"simple\"; String template = TEMPLATE_DEFAULT; public final static String PRINTER_CURRENT = \"current\"; public final static String PRINTER_VIRTUAL = \"virtual\"; public final static String PRINTER_RAW_TRANSFER = \"raw_transfer\"; String printer = PRINTER_CURRENT; AttributesString defaultAttrString = null; AttributesImage defaultAttrImage = null; AttributesPdf defaultAttrPdf = null; boolean premium = false; [RawbtMediaTypes] \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [AppCompatWithRawbtActivity] onServiceConnected onServiceDisconnected onPrintSuccess onPrintError onPrintCancel onProgress bindRawBT onCreate onDestroy printJob handleServiceConnected handlePrintSuccess handlePrintCancel handlePrintError handlePrintProgress [RawbtApiHelper] startActionPrintJob createExplicitIntent isServiceInstalled [RawbtPrintJob] getIdJob setIdJob add getCommands setCommands getCopies setCopies getTemplate setTemplate getPrinter setPrinter getDefaultAttrString setDefaultAttrString isNullDefaultAttrString getDefaultAttrImage setDefaultAttrImage isNullDefaultAttrImage getDefaultAttrPdf setDefaultAttrPdf isNullDefaultAttrPdf println println ln ln leftRightText leftRightTextWithFormat leftRightTextWithBothFormat leftIndentRightText leftIndentRightTextWithFormat leftRightIndentText leftRightIndentTextWithFormat image image text text bytes sendBytes pdf pdf emulate barcode barcode qrcode qrcode cut drawLine drawLine delimiterImages isPremium setPremium GSON [RawbtMediaTypes] detectContentType getFileMimeType \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AppCompatWithRawbtActivity] AppCompatActivity Handler Handler IRawBtPrintService ServiceConnection ServiceConnection ComponentName IBinder Exception ComponentName ICallback ICallback Stub String String String String String String String String String String SecurityException Exception ActivityResultLauncher String ActivityResultContracts RequestPermission Bundle RawbtPrintJob SecurityException Exception String String String String String Float [RawbtApiHelper] String String Context RawbtPrintJob Gson Gson String Intent Intent Exception Intent Intent Intent Context PackageManager PackageManager NameNotFoundException [RawbtPrintJob] String String String ArrayList RawbtCommand ArrayList String String String String String String String String AttributesString AttributesImage AttributesPdf String String RawbtCommand ArrayList RawbtCommand ArrayList RawbtCommand String String String String AttributesString AttributesString AttributesString AttributesImage AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesPdf String CommandString String AttributesString CommandString CommandNewLine CommandNewLine String String CommandLeftRightText String String AttributesString CommandLeftRightText String String AttributesString AttributesString CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText String String CommandLeftRightText CommandLeftRightText String String AttributesString CommandLeftRightText CommandLeftRightText Parcelable Parcelable AttributesImage CommandParcelable CommandParcelable Parcelable Parcelable AttributesString CommandParcelable CommandParcelable Parcelable CommandParcelable String CommandBytesInBase64 Parcelable AttributesPdf CommandParcelable CommandParcelable Parcelable AttributesPdf AttributesImage CommandParcelable CommandParcelable Parcelable String CommandEmulate CommandBarcode String AttributesBarcode CommandBarcode CommandQRcode String AttributesQRcode CommandQRcode CommandCut Character CommandDrawLine Character AttributesString CommandDrawLine CommandDelimiterImages String Gson Gson [RawbtMediaTypes] Constant RAWBT_CONTENT_TYPE Context Uri String String String Context Uri String String Cursor Exception Exception Exception \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [AppCompatWithRawbtActivity] [RawbtApiHelper] \"ru.a402d.rawbtprinter.PERMISSION\" \"ru.a402d.rawbtprinter\" \"ru.a402d.rawbtprinter\" \"rawbt.action.SERVICE\" [RawbtPrintJob] \"rawbt.action.PRINT\" \"rawbt.action.extra.JOB_JSON\" \"none\" \"default\" \"simple\" \"current\" \"virtual\" \"raw_transfer\" [RawbtMediaTypes] \"application/pdf\" \"video\" \"audio\" \"model\" \"multipart\" \"image\" \"text/html\" \"text/prn\" \"content\" \"mime_type\" \"application/octet-stream\" \".jpg\" \".jpeg\" \".png\" \".webp\" \".gif\" \".bmp\" \"image/*\" \".pdf\" \"application/pdf\" \".txt\" \"text/plain\" \".prn\" \"text/prn\" \".htm\" \".html\" \"text/html\" \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": "[CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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 [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.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": "[Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [RawbtCommand] [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(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 }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[Constant] [RawbtCommand] [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandNewLine] getCount setCount [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandEmulate] getParcelable setParcelable getMode setMode [CommandDrawLine] getCh setCh getAttributesString setAttributesString [CommandDelimiterImages] [CommandCut] [CommandBytesInBase64] getBase64 setBase64 [CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [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 [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [RawbtCommand] [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" [CommandParcelable] \"stream\" [CommandNewLine] \"ln\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandEmulate] \"emulate\" [CommandDrawLine] \"line\" [CommandDelimiterImages] \"delimiterImages\" [CommandCut] \"cut\" [CommandBytesInBase64] \"sendBytes\" [CommandBarcode] \"barcode\" [AttributesQRcode] [AttributesBarcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[Constant] String String String String String String String String String String String String String String String String String String String String String String String [RawbtCommand] [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandNewLine] RawbtCommand String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandCut] RawbtCommand String String [CommandBytesInBase64] RawbtCommand String String String String String String [CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [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 [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandQRcode.java_0_0
import rawbt.api.attributes.AttributesQRcode;
package rawbt.api.command;
[ "package rawbt.api.command;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.029411764705882353 }, { "title": "import_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.02857142857142857 }, { "title": "import_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.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.024390243902439025 }, { "title": "import_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.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_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.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandQRcode.java_2_7
import static rawbt.api.Constant.ALIGNMENT_LEFT; package rawbt.api.command; import
rawbt.api.attributes.AttributesQRcode;
[ "rawbt.api.attributes.AttributesQRcode;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.029411764705882353 }, { "title": "import_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.02857142857142857 }, { "title": "import_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.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.024390243902439025 }, { "title": "import_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.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_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.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandQRcode.java_3_33
public class CommandQRcode implements RawbtCommand{ import rawbt.api.attributes.AttributesQRcode; import static rawbt.api.Constant.
ALIGNMENT_LEFT;
[ "ALIGNMENT_LEFT;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.029411764705882353 }, { "title": "import_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.02857142857142857 }, { "title": "import_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.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.024390243902439025 }, { "title": "import_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.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_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.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandQRcode.java_5_7
final public static String TAG = "qrcode"; // for GSON String command = TAG; import static rawbt.api.Constant.ALIGNMENT_LEFT; public
class CommandQRcode implements RawbtCommand{
[ "class CommandQRcode implements RawbtCommand{\n" ]
[ { "title": "in_file#lines#0.5", "text": " final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.029411764705882353 }, { "title": "import_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.02857142857142857 }, { "title": "import_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.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.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.024390243902439025 }, { "title": "import_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.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_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.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandQRcode.java_6_35
String command = TAG; public class CommandQRcode implements RawbtCommand{ final public static String TAG
= "qrcode"; // for GSON
[ "= \"qrcode\"; // for GSON\n" ]
[ { "title": "in_file#lines#0.5", "text": " String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_7_11
String data; public class CommandQRcode implements RawbtCommand{ final public static String TAG = "qrcode"; // for GSON String
command = TAG;
[ "command = TAG;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_9_11
String alignment = ALIGNMENT_LEFT; int multiply = 3; String command = TAG; String
data;
[ "data;\n" ]
[ { "title": "in_file#lines#0.5", "text": " String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_10_23
int multiply = 3; String data; String alignment =
ALIGNMENT_LEFT;
[ "ALIGNMENT_LEFT;\n" ]
[ { "title": "in_file#lines#0.5", "text": " int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_11_8
public CommandQRcode(){ String data; String alignment = ALIGNMENT_LEFT; int
multiply = 3;
[ "multiply = 3;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_13_4
} int multiply = 3;
public CommandQRcode(){
[ "public CommandQRcode(){\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_15_0
public CommandQRcode(String data, AttributesQRcode attr) { public CommandQRcode(){
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_17_25
this.data = data; this.alignment = attr.getAlignment(); } public CommandQRcode(
String data, AttributesQRcode attr) {
[ "String data, AttributesQRcode attr) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_18_6
this.alignment = attr.getAlignment(); this.multiply = attr.getMultiply(); public CommandQRcode(String data, AttributesQRcode attr) {
this.data = data;
[ " this.data = data;\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_19_13
this.multiply = attr.getMultiply(); } public CommandQRcode(String data, AttributesQRcode attr) { this.data = data; this.
alignment = attr.getAlignment();
[ "alignment = attr.getAlignment();\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_20_29
} this.data = data; this.alignment = attr.getAlignment(); this.multiply = attr.
getMultiply();
[ "getMultiply();\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_21_0
public String getData() { this.alignment = attr.getAlignment(); this.multiply = attr.getMultiply();
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_23_18
return data; } } public String
getData() {
[ "getData() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_24_7
} public String getData() {
return data;
[ " return data;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_25_0
public CommandQRcode setData(String data) { public String getData() { return data;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_27_40
this.data = data; return this; } public CommandQRcode setData(String
data) {
[ "data) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_28_2
return this; } public CommandQRcode setData(String data) {
this.data = data;
[ " this.data = data;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_29_8
} public CommandQRcode setData(String data) { this.data = data;
return this;
[ "return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_30_0
public String getAlignment() { this.data = data; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_32_11
return alignment; } } public
String getAlignment() {
[ "String getAlignment() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_33_8
} public String getAlignment() {
return alignment;
[ "return alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_34_0
public CommandQRcode setAlignment(String alignment) { public String getAlignment() { return alignment;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_36_4
this.alignment = alignment; return this; }
public CommandQRcode setAlignment(String alignment) {
[ "public CommandQRcode setAlignment(String alignment) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "alignment alignment getMultiply multiply setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_37_5
return this; } public CommandQRcode setAlignment(String alignment) {
this.alignment = alignment;
[ " this.alignment = alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getMultiply multiply setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_38_3
} public CommandQRcode setAlignment(String alignment) { this.alignment = alignment;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getMultiply multiply setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_39_0
public int getMultiply() { this.alignment = alignment; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "getMultiply multiply setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_41_15
return multiply; } } public int
getMultiply() {
[ "getMultiply() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "multiply setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_42_8
} public int getMultiply() {
return multiply;
[ "return multiply;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_43_0
public CommandQRcode setMultiply(int multiply) { public int getMultiply() { return multiply;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "setMultiply multiply multiply multiply CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_45_41
this.multiply = multiply; return this; } public CommandQRcode setMultiply(int
multiply) {
[ "multiply) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.multiply = multiply;\n return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.multiply = multiply;\n return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "multiply multiply", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_46_8
return this; } public CommandQRcode setMultiply(int multiply) {
this.multiply = multiply;
[ "this.multiply = multiply;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_47_4
} } public CommandQRcode setMultiply(int multiply) { this.multiply = multiply;
return this;
[ " return this;\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 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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_48_0
} this.multiply = multiply; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandQRcode.java_49_0
return this; }
}
[ "}\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 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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } \n[CommandQRcode]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getData setData getAlignment setAlignment getMultiply setMultiply", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; \n[CommandQRcode]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"qrcode\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString \n[CommandQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" \n[CommandQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in 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[CommandQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [CommandDelimiterImages] [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int 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[CommandQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString \n[CommandQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport rawbt.api.attributes.AttributesQRcode;\nimport static rawbt.api.Constant.ALIGNMENT_LEFT;\n\npublic class CommandQRcode implements RawbtCommand{\n final public static String TAG = \"qrcode\"; // for GSON\n String command = TAG;\n\n String data;\n String alignment = ALIGNMENT_LEFT;\n int multiply = 3;\n\n public CommandQRcode(){\n\n }\n\n public CommandQRcode(String data, AttributesQRcode attr) {\n this.data = data;\n this.alignment = attr.getAlignment();\n this.multiply = attr.getMultiply();\n }\n\n public String getData() {\n return data;\n }\n\n public CommandQRcode setData(String data) {\n this.data = data;\n return this;\n }\n\n public String getAlignment() {\n return alignment;\n }\n\n public CommandQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n public CommandQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandDelimiterImages] final public static String TAG = \"delimiterImages\"; String command = TAG; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = 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 }; \n[CommandQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandDelimiterImages] [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandDelimiterImages] RawbtCommand String String [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[CommandQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandDelimiterImages] \"delimiterImages\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [AttributesQRcode] \n[CommandQRcode]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.029411764705882353 }, { "title": "import_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[CommandQRcode]", "score": 0.02857142857142857 }, { "title": "import_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[CommandQRcode]", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n 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 } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandQRcode]", "score": 0.024390243902439025 }, { "title": "import_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[CommandQRcode]", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[CommandQRcode]", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesQRcode] \n[CommandQRcode]", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandQRcode]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandQRcode]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "score": 0.02127659574468085 }, { "title": "import_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[CommandQRcode]", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandQRcode]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandQRcode]", "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/command/CommandDelimiterImages.java_0_18
public class CommandDelimiterImages implements RawbtCommand { package rawbt.api.
command;
[ "command;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\"; String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandDelimiterImages.java_2_13
final public static String TAG = "delimiterImages"; // for GSON String command = TAG; package rawbt.api.command; public class
CommandDelimiterImages implements RawbtCommand {
[ "CommandDelimiterImages implements RawbtCommand {\n" ]
[ { "title": "in_file#lines#0.5", "text": " final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "TAG command TAG CommandDelimiterImages String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\"; String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString 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.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi 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.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel 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.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString 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.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/command/CommandDelimiterImages.java_3_38
String command = TAG; public class CommandDelimiterImages implements RawbtCommand { final public static String TAG = "
delimiterImages"; // for GSON
[ "delimiterImages\"; // for GSON\n" ]
[ { "title": "in_file#lines#0.5", "text": " String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " String command = TAG;\n\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "command TAG CommandDelimiterImages String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "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/command/CommandDelimiterImages.java_4_4
public CommandDelimiterImages() { public class CommandDelimiterImages implements RawbtCommand { final public static String TAG = "delimiterImages"; // for GSON
String command = TAG;
[ "String command = TAG;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public CommandDelimiterImages() {\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public CommandDelimiterImages() {\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CommandDelimiterImages", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\";", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "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/command/CommandDelimiterImages.java_6_4
} } String command = TAG;
public CommandDelimiterImages() {
[ "public CommandDelimiterImages() {\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 command CommandDelimiterImages TAG command TAG RawbtCommand String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\"; String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "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/command/CommandDelimiterImages.java_7_0
} public CommandDelimiterImages() {
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "rawbt api command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\"; String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "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/command/CommandDelimiterImages.java_8_0
public CommandDelimiterImages() { }
}
[ "}\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 command CommandDelimiterImages TAG command TAG CommandDelimiterImages RawbtCommand String String", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"delimiterImages\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandBarcode] rawbt api command rawbt api attributes AttributesBarcode rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE CommandBarcode TAG command TAG data type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT CommandBarcode type data type type data data CommandBarcode data attr data data type attr getType hri attr getHri font attr getFont height attr getHeight width attr getWidth alignment attr getAlignment getData data setData data data data getType type setType type type type getHri hri setHri hri hri hri getFont font setFont font font font getHeight height setHeight height height height getWidth width setWidth width width width getAlignment alignment setAlignment alignment alignment alignment RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] rawbt api command androidx annotation NonNull androidx annotation Nullable CommandBytesInBase64 TAG command TAG base64 CommandBytesInBase64 CommandBytesInBase64 base64 base64 base64 Nullable getBase64 base64 setBase64 NonNull base64 base64 base64 RawbtCommand String String String String String String [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 [CommandDrawLine] rawbt api command androidx annotation NonNull rawbt api attributes AttributesString CommandDrawLine TAG command TAG ch attributesString CommandDrawLine CommandDrawLine NonNull ch NonNull attributesString ch ch attributesString attributesString getCh ch setCh ch ch ch getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] rawbt api command RawbtCommand [CommandEmulate] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable CommandEmulate TAG command TAG parcelable mode CommandEmulate NonNull parcelable NonNull mode parcelable parcelable toString mode mode Nullable getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getMode mode setMode NonNull mode mode mode RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] rawbt api command rawbt api attributes AttributesString CommandLeftRightText TAG command TAG leftText rightText leftIndent rightIndent leftAttr rightAttr CommandLeftRightText CommandLeftRightText leftText rightText attr leftText leftText rightText rightText leftAttr attr rightAttr attr CommandLeftRightText leftText rightText leftIndent rightIndent leftAttr rightAttr leftText leftText rightText rightText leftIndent leftIndent rightIndent rightIndent leftAttr leftAttr rightAttr rightAttr getLeftText leftText getRightText rightText getLeftIndent leftIndent getRightIndent rightIndent getLeftAttr leftAttr getRightAttr rightAttr setLeftText leftText leftText leftText setRightText rightText rightText rightText setLeftIndent leftIndent leftIndent leftIndent setRightIndent rightIndent rightIndent rightIndent setLeftAttr leftAttr leftAttr leftAttr setRightAttr rightAttr rightAttr rightAttr RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [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 [CommandCut] rawbt api command CommandCut TAG command TAG CommandCut RawbtCommand String String [CommandNewLine] rawbt api command CommandNewLine TAG command TAG count CommandNewLine CommandNewLine count count count getCount count setCount count count count RawbtCommand String String [CommandString] rawbt api command rawbt api attributes AttributesString CommandString TAG command TAG text attributesString CommandString CommandString text attr text text attributesString attr getText text setText text text text getAttributesString attributesString setAttributesString attributesString attributesString attributesString RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [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 \n[CommandDelimiterImages]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandBarcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getType] public String getType() {\n return type;\n } [setType] this.type = type;\n return this;\n } [getHri] public String getHri() {\n return hri;\n } [setHri] this.hri = hri;\n return this;\n } [getFont] public int getFont() {\n return font;\n } [setFont] this.font = font;\n return this;\n } [getHeight] public int getHeight() {\n return height;\n } [setHeight] this.height = height;\n return this;\n } [getWidth] public int getWidth() {\n return width;\n } [setWidth] this.width = width;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } [CommandBytesInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] Null String base64) {\n this.base64 = base64;\n } [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 } [CommandDrawLine] [getCh] public Character getCh() {\n return ch;\n } [setCh] this.ch = ch;\n return this;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] this.attributesString = attributesString;\n return this;\n } [RawbtCommand] [CommandEmulate] [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getMode] public String getMode() {\n return mode;\n } [setMode] NonNull String mode) {\n this.mode = mode;\n } [CommandLeftRightText] [getLeftText] public String getLeftText() {\n return leftText;\n } [getRightText] public String getRightText() {\n return rightText;\n } [getLeftIndent] public int getLeftIndent() {\n return leftIndent;\n } [getRightIndent] public int getRightIndent() {\n return rightIndent;\n } [getLeftAttr] public AttributesString getLeftAttr() {\n return leftAttr;\n } [getRightAttr] public AttributesString getRightAttr() {\n return rightAttr;\n } [setLeftText] this.leftText = leftText;\n return this;\n } [setRightText] this.rightText = rightText;\n return this;\n } [setLeftIndent] this.leftIndent = leftIndent;\n return this;\n } [setRightIndent] this.rightIndent = rightIndent;\n return this;\n } [setLeftAttr] this.leftAttr = leftAttr;\n return this;\n } [setRightAttr] this.rightAttr = rightAttr;\n return this;\n } [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 } [CommandCut] [CommandNewLine] [getCount] public int getCount() {\n return count;\n } [setCount] Count(int count) {\n this.count = count;\n } [CommandString] [getText] public String getText() {\n return text;\n } [setText] Text(String text) {\n this.text = text;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] String) {\n this.attributesString = attributesString;\n } [CommandQRcode] [getData] public String getData() {\n return data;\n } [setData] this.data = data;\n return this;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setMultiply] this.multiply = multiply;\n return this;\n } \n[CommandDelimiterImages]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"delimiterImages\"; String command = TAG;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\npublic class CommandDelimiterImages implements RawbtCommand {\n final public static String TAG = \"delimiterImages\"; // for GSON\n String command = TAG;\n\n public CommandDelimiterImages() {\n }\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandBarcode] final public static String TAG = \"barcode\"; String command = TAG; String data; String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; [CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; [CommandBytesInBase64] final public static String TAG = \"sendBytes\"; String command = TAG; String base64 = null; [CommandImageInBase64] final public static String TAG = \"image\"; String command = TAG; String base64 = null; AttributesImage attributesImage = null; [CommandDrawLine] final public static String TAG = \"line\"; String command = TAG; Character ch = '-'; AttributesString attributesString = new AttributesString(); [RawbtCommand] [CommandEmulate] final public static String TAG = \"emulate\"; String command = TAG; String parcelable; String mode; [CommandLeftRightText] final public static String TAG = \"leftRightText\"; String command = TAG; String leftText = \"\"; String rightText = \"\"; int leftIndent = 0; int rightIndent = 0; AttributesString leftAttr = null; AttributesString rightAttr = null; [CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [CommandCut] final public static String TAG = \"cut\"; String command = TAG; [CommandNewLine] final public static String TAG = \"ln\"; String command = TAG; int count = 1; [CommandString] final public static String TAG = \"print\"; String command = TAG; String text = \"\"; AttributesString attributesString = null; [CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; \n[CommandDelimiterImages]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandBarcode] getData setData getType setType getHri setHri getFont setFont getHeight setHeight getWidth setWidth getAlignment setAlignment [CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString [CommandBytesInBase64] getBase64 setBase64 [CommandImageInBase64] getBase64 setBase64 getAttributesImage setAttributesImage [CommandDrawLine] getCh setCh getAttributesString setAttributesString [RawbtCommand] [CommandEmulate] getParcelable setParcelable getMode setMode [CommandLeftRightText] getLeftText getRightText getLeftIndent getRightIndent getLeftAttr getRightAttr setLeftText setRightText setLeftIndent setRightIndent setLeftAttr setRightAttr [CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [CommandCut] [CommandNewLine] getCount setCount [CommandString] getText setText getAttributesString setAttributesString [CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply \n[CommandDelimiterImages]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandBarcode] RawbtCommand String String String String String String String String String AttributesBarcode String CommandBarcode String String CommandBarcode String String CommandBarcode String CommandBarcode CommandBarcode CommandBarcode String CommandBarcode String [CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString [CommandBytesInBase64] RawbtCommand String String String String String String [CommandImageInBase64] RawbtCommand String String String AttributesImage String AttributesImage String String AttributesImage AttributesImage [CommandDrawLine] RawbtCommand String String Character AttributesString AttributesString Character AttributesString Character CommandDrawLine Character AttributesString CommandDrawLine AttributesString [RawbtCommand] [CommandEmulate] RawbtCommand String String String String Parcelable String String String String String [CommandLeftRightText] RawbtCommand String String String String AttributesString AttributesString String String AttributesString String String AttributesString AttributesString String String AttributesString AttributesString CommandLeftRightText String CommandLeftRightText String CommandLeftRightText CommandLeftRightText CommandLeftRightText AttributesString CommandLeftRightText AttributesString [CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [CommandCut] RawbtCommand String String [CommandNewLine] RawbtCommand String String [CommandString] RawbtCommand String String String AttributesString String AttributesString String String AttributesString AttributesString [CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode \n[CommandDelimiterImages]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandBarcode] \"barcode\" [CommandParcelable] \"stream\" [CommandBytesInBase64] \"sendBytes\" [CommandImageInBase64] \"image\" [CommandDrawLine] \"line\" [RawbtCommand] [CommandEmulate] \"emulate\" [CommandLeftRightText] \"leftRightText\" \"\" \"\" [CommandPdfInBase64] \"pdf64\" [CommandCut] \"cut\" [CommandNewLine] \"ln\" [CommandString] \"print\" \"\" [CommandQRcode] \"qrcode\" \n[CommandDelimiterImages]", "score": 0.047619047619047616 }, { "title": "parent_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.045454545454545456 }, { "title": "child_class_file#identifiers#0.5", "text": "", "score": 0.043478260869565216 }, { "title": "child_class_file#method_names_and_bodies#0.5", "text": "", "score": 0.041666666666666664 }, { "title": "parent_class_file#identifiers#0.5", "text": "", "score": 0.04 }, { "title": "child_class_file#method_names#0.5", "text": "", "score": 0.038461538461538464 }, { "title": "parent_class_file#method_names#0.5", "text": "", "score": 0.037037037037037035 }, { "title": "child_class_file#type_identifiers#0.5", "text": "", "score": 0.03571428571428571 }, { "title": "parent_class_file#field_declarations#0.5", "text": "", "score": 0.034482758620689655 }, { "title": "parent_class_file#type_identifiers#0.5", "text": "", "score": 0.03333333333333333 }, { "title": "parent_class_file#string_literals#0.5", "text": "", "score": 0.03225806451612903 }, { "title": "child_class_file#string_literals#0.5", "text": "", "score": 0.03125 }, { "title": "import_of_similar_name_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "score": 0.029411764705882353 }, { "title": "import_file#identifiers#0.5", "text": "", "score": 0.02857142857142857 }, { "title": "import_file#method_names_and_bodies#0.5", "text": "", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray 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 [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\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 } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n[CommandDelimiterImages]", "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": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesPdf] 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 [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n[CommandDelimiterImages]", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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 }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n[CommandDelimiterImages]", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "score": 0.02127659574468085 }, { "title": "import_file#type_identifiers#0.5", "text": "", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesPdf] [AttributesImage] [AttributesString] \"default\" \n[CommandDelimiterImages]", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [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 [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n[CommandDelimiterImages]", "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/command/CommandPdfInBase64.java_0_18
import rawbt.api.attributes.AttributesImage; package rawbt.api.
command;
[ "command;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport rawbt.api.attributes.AttributesImage;\nimport rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport rawbt.api.attributes.AttributesImage;\nimport rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport rawbt.api.attributes.AttributesImage;\nimport rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"pdf64\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_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 [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf \n", "score": 0.02857142857142857 }, { "title": "import_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 } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } \n", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [AttributesPdf] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.024390243902439025 }, { "title": "import_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 }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesImage] [AttributesPdf] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.02127659574468085 }, { "title": "import_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 [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf \n", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [AttributesPdf] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "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/command/CommandPdfInBase64.java_2_7
import rawbt.api.attributes.AttributesPdf; package rawbt.api.command; import
rawbt.api.attributes.AttributesImage;
[ "rawbt.api.attributes.AttributesImage;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import rawbt.api.attributes.AttributesPdf;\n\nimport static rawbt.api.Constant.DITHERING_SF;\n\npublic class CommandPdfInBase64 implements RawbtCommand {\n final public static String TAG = \"pdf64\"; // for GSON\n String command = TAG;\n\n String base64;\n AttributesPdf attributesPdf = null;\n AttributesImage attributesImage = null;\n\n public CommandPdfInBase64() {\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = new AttributesImage(DITHERING_SF);\n }\n\n public CommandPdfInBase64(String base64, AttributesPdf attributesPdf,AttributesImage attributesImage) {\n this.base64 = base64;\n this.attributesPdf = attributesPdf;\n this.attributesImage = attributesImage;\n }\n\n // ================== get & set ==============\n\n public String getBase64() {\n return base64;\n }\n\n public void setBase64(String base64) {\n this.base64 = base64;\n }\n\n public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n }\n\n public void setAttributesPdf(AttributesPdf attributesPdf) {\n this.attributesPdf = attributesPdf;\n }\n\n public AttributesImage getAttributesImage() {\n return attributesImage;\n }\n\n public void setAttributesImage(AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n }\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } \n", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; \n", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "\"pdf64\"", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandParcelable] rawbt api command android os Parcelable androidx annotation NonNull androidx annotation Nullable rawbt api Constant rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api attributes AttributesString CommandParcelable TAG command TAG type parcelable attributesImage attributesPdf attributesString CommandParcelable NonNull parcelable type type type parcelable parcelable toString getType type setType NonNull type type type NonNull getParcelable parcelable setParcelable NonNull parcelable parcelable parcelable Nullable getAttributesImage attributesImage setAttributesImage NonNull attributesImage attributesImage attributesImage Nullable getAttributesPdf attributesPdf setAttributesPdf NonNull attributesPdf attributesPdf attributesPdf Nullable getAttributesString attributesString setAttributesString NonNull attributesString attributesString attributesString RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandParcelable] [getType] public Constant.RAWBT_CONTENT_TYPE getType() {\n return type;\n } [setType] NonNull Constant.RAWBT_CONTENT_TYPE type) {\n this.type = type;\n } [getParcelable] public String getParcelable() {\n return parcelable;\n } [setParcelable] Null String parcelable) {\n this.parcelable = parcelable;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] AttributesImage attributesImage) {\n this.attributesImage = attributesImage;\n } [getAttributesPdf] public AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] Pdf) {\n this.attributesPdf = attributesPdf;\n } [getAttributesString] public AttributesString getAttributesString() {\n return attributesString;\n } [setAttributesString] AttributesString attributesString) {\n this.attributesString = attributesString;\n } \n", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null;", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString \n", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.command;\n\nimport ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandParcelable] final public static String TAG = \"stream\"; String command = TAG; Constant.RAWBT_CONTENT_TYPE type; String parcelable; AttributesImage attributesImage = null; AttributesPdf attributesPdf = null; AttributesString attributesString = null; \n", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandParcelable] getType setType getParcelable setParcelable getAttributesImage setAttributesImage getAttributesPdf setAttributesPdf getAttributesString setAttributesString \n", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandParcelable] RawbtCommand String String Constant RAWBT_CONTENT_TYPE String AttributesImage AttributesPdf AttributesString Parcelable Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE Constant RAWBT_CONTENT_TYPE String String AttributesImage AttributesImage AttributesPdf AttributesPdf AttributesString AttributesString \n", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandParcelable] \"stream\" \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": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.029411764705882353 }, { "title": "import_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 [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf \n", "score": 0.02857142857142857 }, { "title": "import_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 } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } \n", "score": 0.027777777777777776 }, { "title": "import_of_similar_name_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesBarcode] [AttributesPdf] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02564102564102564 }, { "title": "import_of_sibling_file#identifiers#0.5", "text": "[AttributesBarcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant FONT_A rawbt api Constant HRI_NONE AttributesBarcode type hri HRI_NONE font FONT_A height width alignment ALIGNMENT_LEFT AttributesBarcode getType type getHri hri getFont font getHeight height getWidth width getAlignment alignment setType type type type setHri hri hri hri setFont font font font setHeight height height height setWidth width width width setAlignment alignment alignment alignment build setType type setHri hri setFont font setHeight height setWidth width setAlignment alignment Override describeContents Override writeToParcel dest flags dest writeString type dest writeString hri dest writeInt font dest writeInt height dest writeInt width dest writeString alignment AttributesBarcode in type in readString hri in readString font in readInt height in readInt width in readInt alignment in readString CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] rawbt api attributes android os Parcel android os Parcelable AttributesPdf WIDTH_TRUNCATE_NONE WIDTH_TRUNCATE_1_2 WIDTH_TRUNCATE_MAX page roll widthTruncateMode WIDTH_TRUNCATE_MAX rotate clearHeaderAndFooter cutTop cutTopVal cutFrame cutFrameVal paperCutAfterEachPage AttributesPdf getPage page getWidthTruncateMode widthTruncateMode isClearHeaderAndFooter clearHeaderAndFooter isCutTop cutTop getCutTopVal cutTopVal isPaperCutAfterEachPage paperCutAfterEachPage isRoll roll getRotate rotate isCutFrame cutFrame getCutFrameVal cutFrameVal setPage page page page setRoll roll roll roll setWidthTruncateMode widthTruncateMode widthTruncateMode widthTruncateMode setRotate rotate rotate rotate setClearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter clearHeaderAndFooter setCutTop cutTop cutTop cutTop setCutTopVal cutTopVal cutTopVal cutTopVal setPaperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage paperCutAfterEachPage setCutFrame cutFrame cutFrame cutFrame setCutFrameVal cutFrameVal cutFrameVal cutFrameVal AttributesPdf in page in readInt widthTruncateMode in readInt clearHeaderAndFooter in readByte cutTop in readByte cutTopVal in readInt paperCutAfterEachPage in readByte roll in readByte rotate in readInt cutFrame in readByte cutFrameVal in readInt Override writeToParcel dest flags dest writeInt page dest writeInt widthTruncateMode dest writeByte clearHeaderAndFooter dest writeByte cutTop dest writeInt cutTopVal dest writeByte paperCutAfterEachPage dest writeByte roll dest writeInt rotate dest writeByte cutFrame dest writeInt cutFrameVal Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] rawbt api Constant RAWBT_CONTENT_TYPE image pdf prn txt html unsupported DITHERING_BW DITHERING_SF DITHERING_ATKINSON DITHERING_BURKES DITHERING_SIERA DITHERING_SKETCH DITHERING_BEST_CONTRAST DITHERING_REGULAR DITHERING_NONE_RESIZE_ONLY DITHERING_127 FONT_DEFAULT FONT_A FONT_B FONT_C FONT_TRUE_TYPE CPI_DEFAULT CPI_NORMAL CPI_CONDENSED CPI_MONO ALIGNMENT_LEFT ALIGNMENT_RIGHT ALIGNMENT_CENTER BARCODE_UPC_A BARCODE_UPC_E BARCODE_EAN13 BARCODE_JAN13 BARCODE_EAN8 BARCODE_JAN8 BARCODE_CODE39 BARCODE_ITF BARCODE_CODABAR BARCODE_CODE93 BARCODE_CODE128 BARCODE_GS1_128 BARCODE_GS1_DATABAR_OMNIDIRECTIONAL BARCODE_GS1_DATABAR_TRUNCATED BARCODE_GS1_DATABAR_LIMITED BARCODE_GS1_DATABAR_EXPANDED HRI_NONE HRI_ABOVE HRI_BELOW HRI_BOTH String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_CENTER AttributesQRcode alignment ALIGNMENT_CENTER multiply AttributesQRcode getAlignment alignment getMultiply multiply setAlignment alignment alignment alignment setMultiply multiply multiply multiply build setAlignment alignment setMultiply multiply Override describeContents AttributesQRcode in alignment in readString multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant ALIGNMENT_LEFT rawbt api Constant DITHERING_BW AttributesImage graphicFilter DITHERING_BW rotateImage inverseColor scale doScale alignment ALIGNMENT_LEFT AttributesImage AttributesImage graphicFilter graphicFilter graphicFilter getGraphicFilter graphicFilter isRotateImage rotateImage isInverseColor inverseColor getScale scale getAlignment alignment isDoScale doScale setGraphicFilter graphicFilter graphicFilter graphicFilter setRotateImage rotateImage rotateImage rotateImage setInverseColor inverseColor inverseColor inverseColor setScale scale scale scale setAlignment alignment alignment alignment setDoScale doScale doScale doScale AttributesImage in graphicFilter in readInt rotateImage in readByte inverseColor in readByte scale in readInt alignment in readString doScale in readByte Override writeToParcel dest flags dest writeInt graphicFilter dest writeByte rotateImage dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] rawbt api attributes android os Parcel android os Parcelable rawbt api Constant AttributesString fontsCpi CPI_DEFAULT internationalChars truetypeFontSize printerFont FONT_DEFAULT alignment ALIGNMENT_LEFT bold doubleHeight doubleWidth underline lang AttributesString isFontA getPrinterFont FONT_A isFontB getPrinterFont FONT_B isFontC getPrinterFont FONT_C getPrinterFont printerFont getFontsCpi fontsCpi getInternationalChars internationalChars getTruetypeFontSize truetypeFontSize getAlignment alignment isBold bold isDoubleHeight doubleHeight isDoubleWidth doubleWidth isUnderline underline getLang lang setPrinterFont printerFont printerFont printerFont setFontsCpi fontsCpi fontsCpi fontsCpi setInternationalChars internationalChars internationalChars internationalChars setTruetypeFontSize truetypeFontSize truetypeFontSize truetypeFontSize setAlignment alignment alignment alignment setBold bold bold bold setDoubleHeight doubleHigh doubleHeight doubleHigh setDoubleWidth doubleWidth doubleWidth doubleWidth setUnderline underline underline underline setLang lang lang lang build setFontsCpi fontsCpi setInternationalChars internationalChars setTruetypeFontSize truetypeFontSize setPrinterFont printerFont setAlignment alignment setBold bold setDoubleWidth doubleWidth setDoubleHeight doubleHeight setUnderline underline setLang lang AttributesString in printerFont in readInt fontsCpi in readInt internationalChars in readInt truetypeFontSize in readInt alignment in readString bold in readByte doubleHeight in readByte doubleWidth in readByte underline in readByte lang in readString Override writeToParcel dest flags dest writeInt printerFont dest writeInt fontsCpi dest writeInt internationalChars dest writeInt truetypeFontSize dest writeString alignment dest writeByte bold dest writeByte doubleHeight dest writeByte doubleWidth dest writeByte underline dest writeString lang Override describeContents CREATOR Override createFromParcel in in Override newArray size size Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.025 }, { "title": "import_of_sibling_file#method_names_and_bodies#0.5", "text": "[AttributesBarcode] [getType] public String getType() {\n return type;\n } [getHri] public String getHri() {\n return hri;\n } [getFont] public int getFont() {\n return font;\n } [getHeight] public int getHeight() {\n return height;\n } [getWidth] public int getWidth() {\n return width;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [setType] this.type = type;\n return this;\n } [setHri] this.hri = hri;\n return this;\n } [setFont] this.font = font;\n return this;\n } [setHeight] this.height = height;\n return this;\n } [setWidth] this.width = width;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [build] .setAlignment(this.alignment);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] Int(width);\n dest.writeString(alignment);\n } [createFromParcel] return new AttributesBarcode(in);\n } [newArray] return new AttributesBarcode[size];\n } [AttributesPdf] [getPage] public int getPage() {\n return page;\n } [getWidthTruncateMode] uncateMode() {\n return widthTruncateMode;\n } [isClearHeaderAndFooter] AndFooter() {\n return clearHeaderAndFooter;\n } [isCutTop] public boolean isCutTop() {\n return cutTop;\n } [getCutTopVal] int getCutTopVal() {\n return cutTopVal;\n } [isPaperCutAfterEachPage] AfterEachPage() {\n return paperCutAfterEachPage;\n } [isRoll] public boolean isRoll() {\n return roll;\n } [getRotate] public int getRotate() {\n return rotate;\n } [isCutFrame] public boolean isCutFrame() {\n return cutFrame;\n } [getCutFrameVal] int getCutFrameVal() {\n return cutFrameVal;\n } [setPage] this.page = page;\n return this;\n } [setRoll] this.roll = roll;\n return this;\n } [setWidthTruncateMode] ateMode = widthTruncateMode;\n return this;\n } [setRotate] this.rotate = rotate;\n return this;\n } [setClearHeaderAndFooter] Footer = clearHeaderAndFooter;\n return this;\n } [setCutTop] this.cutTop = cutTop;\n return this;\n } [setCutTopVal] .cutTopVal = cutTopVal;\n return this;\n } [setPaperCutAfterEachPage] EachPage = paperCutAfterEachPage;\n return this;\n } [setCutFrame] this.cutFrame = cutFrame;\n return this;\n } [setCutFrameVal] .cutFrameVal = cutFrameVal;\n return this;\n } [writeToParcel] : 0));\n dest.writeInt(cutFrameVal);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesPdf(in);\n } [newArray] return new AttributesPdf[size];\n } [Constant] [AttributesQRcode] [getAlignment] public String getAlignment() {\n return alignment;\n } [getMultiply] public int getMultiply() {\n return multiply;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setMultiply] this.multiply = multiply;\n return this;\n } [build] .setMultiply(this.multiply);\n } [describeContents] public int describeContents() {\n return 0;\n } [writeToParcel] alignment);\n dest.writeInt(multiply);\n } [createFromParcel] return new AttributesQRcode(in);\n } [newArray] return new AttributesQRcode[size];\n } [AttributesImage] [getGraphicFilter] public int getGraphicFilter() {\n return graphicFilter;\n } [isRotateImage] public boolean isRotateImage() {\n return rotateImage;\n } [isInverseColor] public boolean isInverseColor() {\n return inverseColor;\n } [getScale] public int getScale() {\n return scale;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isDoScale] public boolean isDoScale() {\n return doScale;\n } [setGraphicFilter] this.graphicFilter = graphicFilter;\n return this;\n } [setRotateImage] this.rotateImage = rotateImage;\n return this;\n } [setInverseColor] this.inverseColor = inverseColor;\n return this;\n } [setScale] this.scale = scale;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setDoScale] this.doScale = doScale;\n return this;\n } [writeToParcel] dest.writeByte((byte) (doScale? 1 : 0));\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesImage(in);\n } [newArray] return new AttributesImage[size];\n } [AttributesString] [isFontA] public boolean isFontA(){\n return getPrinterFont()==FONT_A;\n } [isFontB] public boolean isFontB(){\n return getPrinterFont()==FONT_B;\n } [isFontC] public boolean isFontC(){\n return getPrinterFont()==FONT_C;\n } [getPrinterFont] public int getPrinterFont() {\n return printerFont;\n } [getFontsCpi] public int getFontsCpi() {\n return fontsCpi;\n } [getInternationalChars] public int getInternationalChars() {\n return internationalChars;\n } [getTruetypeFontSize] int getTruetypeFontSize() {\n return truetypeFontSize;\n } [getAlignment] public String getAlignment() {\n return alignment;\n } [isBold] public boolean isBold() {\n return bold;\n } [isDoubleHeight] public boolean isDoubleHeight() {\n return doubleHeight;\n } [isDoubleWidth] public boolean isDoubleWidth() {\n return doubleWidth;\n } [isUnderline] public boolean isUnderline() {\n return underline;\n } [getLang] public String getLang() {\n return lang;\n } [setPrinterFont] this.printerFont = printerFont;\n return this;\n } [setFontsCpi] .fontsCpi = fontsCpi;\n return this;\n } [setInternationalChars] this.internationalChars = internationalChars;\n return this;\n } [setTruetypeFontSize] ruetypeFontSize = truetypeFontSize;\n return this;\n } [setAlignment] this.alignment = alignment;\n return this;\n } [setBold] this.bold = bold;\n return this;\n } [setDoubleHeight] this.doubleHeight = doubleHigh;\n return this;\n } [setDoubleWidth] this.doubleWidth = doubleWidth;\n return this;\n } [setUnderline] this.underline = underline;\n return this;\n } [setLang] this.lang = lang;\n return this;\n } [build] .setLang(lang);\n\n } [writeToParcel] line? 1 : 0));\n dest.writeString(lang);\n } [describeContents] public int describeContents() {\n return 0;\n } [createFromParcel] return new AttributesString(in);\n } [newArray] return new AttributesString[size];\n } \n", "score": 0.024390243902439025 }, { "title": "import_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 }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(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", "score": 0.023809523809523808 }, { "title": "import_file#method_names#0.5", "text": "[AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray \n", "score": 0.023255813953488372 }, { "title": "import_file#string_literals#0.5", "text": "[AttributesImage] [AttributesPdf] \n", "score": 0.022727272727272728 }, { "title": "import_of_sibling_file#method_names#0.5", "text": "[AttributesBarcode] getType getHri getFont getHeight getWidth getAlignment setType setHri setFont setHeight setWidth setAlignment build describeContents writeToParcel createFromParcel newArray [AttributesPdf] getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray [Constant] [AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray [AttributesString] isFontA isFontB isFontC getPrinterFont getFontsCpi getInternationalChars getTruetypeFontSize getAlignment isBold isDoubleHeight isDoubleWidth isUnderline getLang setPrinterFont setFontsCpi setInternationalChars setTruetypeFontSize setAlignment setBold setDoubleHeight setDoubleWidth setUnderline setLang build writeToParcel describeContents createFromParcel newArray \n", "score": 0.022222222222222223 }, { "title": "import_of_sibling_file#field_declarations#0.5", "text": "[AttributesBarcode] String type; String hri = HRI_NONE; int font = FONT_A; int height = 162; int width = 3; String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesBarcode> CREATOR = new Creator<AttributesBarcode>() {\n @Override\n public AttributesBarcode createFromParcel(Parcel in) {\n return new AttributesBarcode(in);\n }\n\n @Override\n public AttributesBarcode[] newArray(int size) {\n return new AttributesBarcode[size];\n }\n }; [AttributesPdf] public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; private boolean roll = true; private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int rotate = 0; private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int cutTopVal = 0; private boolean cutFrame = false; private int cutFrameVal = 0; private boolean paperCutAfterEachPage = false; public static final Creator<AttributesPdf> CREATOR = new Creator<AttributesPdf>() {\n @Override\n public AttributesPdf createFromParcel(Parcel in) {\n return new AttributesPdf(in);\n }\n\n @Override\n public AttributesPdf[] newArray(int size) {\n return new AttributesPdf[size];\n }\n }; [Constant] public static final int DITHERING_BW = 0; public static final int DITHERING_SF = 1; public static final int DITHERING_ATKINSON = 2; public static final int DITHERING_BURKES = 3; public static final int DITHERING_SIERA = 4; public static final int DITHERING_SKETCH = 5; public static final int DITHERING_BEST_CONTRAST = 6; public static final int DITHERING_REGULAR = 7 ; public static final int DITHERING_NONE_RESIZE_ONLY = 8 ; public static final int DITHERING_127 = 9; public static final int FONT_DEFAULT = 0; public static final int FONT_A = 1; public static final int FONT_B = 2; public static final int FONT_C = 3; public static final int FONT_TRUE_TYPE = 4; public static final int CPI_DEFAULT = 0; public static final int CPI_NORMAL = 1; public static final int CPI_CONDENSED = 2; public static final int CPI_MONO = 3; public static final String ALIGNMENT_LEFT = \"left\"; public static final String ALIGNMENT_RIGHT = \"right\"; public static final String ALIGNMENT_CENTER = \"center\"; public static final String BARCODE_UPC_A = \"upc_a\"; public static final String BARCODE_UPC_E = \"upc_e\"; public static final String BARCODE_EAN13 = \"ean13\"; public static final String BARCODE_JAN13 = \"jan13\"; public static final String BARCODE_EAN8 = \"ean8\"; public static final String BARCODE_JAN8 = \"jan8\"; public static final String BARCODE_CODE39 = \"code39\"; public static final String BARCODE_ITF = \"itf\"; public static final String BARCODE_CODABAR = \"codabar\"; public static final String BARCODE_CODE93 = \"code93\"; public static final String BARCODE_CODE128 = \"code128\"; public static final String BARCODE_GS1_128 = \"gs1_128\"; public static final String BARCODE_GS1_DATABAR_OMNIDIRECTIONAL = \"databar_omni\"; public static final String BARCODE_GS1_DATABAR_TRUNCATED = \"databar_trunc\"; public static final String BARCODE_GS1_DATABAR_LIMITED = \"databar_limit\"; public static final String BARCODE_GS1_DATABAR_EXPANDED = \"databar_expand\"; public static final String HRI_NONE = \"none\"; public static final String HRI_ABOVE = \"above\"; public static final String HRI_BELOW = \"below\"; public static final String HRI_BOTH = \"both\"; [AttributesQRcode] String alignment = ALIGNMENT_CENTER; int multiply = 3; public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n }; [AttributesImage] int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private String alignment = ALIGNMENT_LEFT; public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(Parcel in) {\n return new AttributesImage(in);\n }\n\n @Override\n public AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n }; [AttributesString] private int fontsCpi = CPI_DEFAULT; private int internationalChars = 0; private int truetypeFontSize = 21; private int printerFont = FONT_DEFAULT ; private String alignment = ALIGNMENT_LEFT; private boolean bold = false; private boolean doubleHeight = false; private boolean doubleWidth = false; private boolean underline = false; private String lang = \"default\"; public static final Creator<AttributesString> CREATOR = new Creator<AttributesString>() {\n @Override\n public AttributesString createFromParcel(Parcel in) {\n return new AttributesString(in);\n }\n\n @Override\n public AttributesString[] newArray(int size) {\n return new AttributesString[size];\n }\n }; \n", "score": 0.021739130434782608 }, { "title": "import_of_similar_name_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "score": 0.02127659574468085 }, { "title": "import_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 [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf \n", "score": 0.020833333333333332 }, { "title": "import_of_sibling_file#string_literals#0.5", "text": "[AttributesBarcode] [AttributesPdf] [Constant] \"left\" \"right\" \"center\" \"upc_a\" \"upc_e\" \"ean13\" \"jan13\" \"ean8\" \"jan8\" \"code39\" \"itf\" \"codabar\" \"code93\" \"code128\" \"gs1_128\" \"databar_omni\" \"databar_trunc\" \"databar_limit\" \"databar_expand\" \"none\" \"above\" \"below\" \"both\" [AttributesQRcode] [AttributesImage] [AttributesString] \"default\" \n", "score": 0.02040816326530612 }, { "title": "import_of_sibling_file#type_identifiers#0.5", "text": "[AttributesBarcode] Parcelable String String String String String String AttributesBarcode String AttributesBarcode String AttributesBarcode AttributesBarcode AttributesBarcode AttributesBarcode String AttributesBarcode AttributesBarcode Parcel Parcel Creator AttributesBarcode Creator AttributesBarcode AttributesBarcode Parcel AttributesBarcode AttributesBarcode AttributesBarcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [Constant] String String String String String String String String String String String String String String String String String String String String String String String [AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [AttributesString] Parcelable String String String String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString AttributesString AttributesString AttributesString String AttributesString AttributesString Parcel Parcel Creator AttributesString Creator AttributesString AttributesString Parcel AttributesString AttributesString AttributesString \n", "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 } ]